home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / lib / sunbird / chrome / pippki.jar < prev    next >
PKZip Archive  |  2007-05-23  |  294.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: PKZip Archive (archive/zip).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert PKZip Archive (archive/zip) magic Supported
66% dexvert JAR Archive (archive/jar) ext Supported
100% file Zip archive data, made by v2.3 UNIX, extract using at least v1.0, last modified, last modified Sun, Jul 13 2006 11:59:36, uncompressed size 4066, method=store default
99% file Zip archive, with extra data prepended default
98% file data default
100% TrID ZIP compressed archive default
100% dexmagic PrintFox/Pagefox WEAK default
100% siegfried x-fmt/263 ZIP Format default
100% lsar Zip default
100% gt2 ZIP Archiv gefunden (Auflistung ist deaktiviert) default
100% detectItEasy Archive: Zip(1.0)[100.0%,66 files] default
100% binwalkID Zip archive data, at least v1.0 to extract, compressed size: 4066, uncompressed size: 4066, name: content/pippki/changepassword.xul default
100% xdgMime application/zip default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 4b 03 04 0a 00 00 00 | 00 00 72 5f ed 34 a8 88 |PK......|..r_.4..|
|00000010| 23 8a e2 0f 00 00 e2 0f | 00 00 21 00 00 00 63 6f |#.......|..!...co|
|00000020| 6e 74 65 6e 74 2f 70 69 | 70 70 6b 69 2f 63 68 61 |ntent/pi|ppki/cha|
|00000030| 6e 67 65 70 61 73 73 77 | 6f 72 64 2e 78 75 6c 3c |ngepassw|ord.xul<|
|00000040| 3f 78 6d 6c 20 76 65 72 | 73 69 6f 6e 3d 22 31 2e |?xml ver|sion="1.|
|00000050| 30 22 3f 3e 0a 3c 21 2d | 2d 20 2a 2a 2a 2a 2a 20 |0"?>.<!-|- ***** |
|00000060| 42 45 47 49 4e 20 4c 49 | 43 45 4e 53 45 20 42 4c |BEGIN LI|CENSE BL|
|00000070| 4f 43 4b 20 2a 2a 2a 2a | 2a 0a 20 20 20 2d 20 56 |OCK ****|*. - V|
|00000080| 65 72 73 69 6f 6e 3a 20 | 4d 50 4c 20 31 2e 31 2f |ersion: |MPL 1.1/|
|00000090| 47 50 4c 20 32 2e 30 2f | 4c 47 50 4c 20 32 2e 31 |GPL 2.0/|LGPL 2.1|
|000000a0| 0a 20 20 20 2d 0a 20 20 | 20 2d 20 54 68 65 20 63 |. -. | - The c|
|000000b0| 6f 6e 74 65 6e 74 73 20 | 6f 66 20 74 68 69 73 20 |ontents |of this |
|000000c0| 66 69 6c 65 20 61 72 65 | 20 73 75 62 6a 65 63 74 |file are| subject|
|000000d0| 20 74 6f 20 74 68 65 20 | 4d 6f 7a 69 6c 6c 61 20 | to the |Mozilla |
|000000e0| 50 75 62 6c 69 63 20 4c | 69 63 65 6e 73 65 20 56 |Public L|icense V|
|000000f0| 65 72 73 69 6f 6e 0a 20 | 20 20 2d 20 31 2e 31 20 |ersion. | - 1.1 |
|00000100| 28 74 68 65 20 22 4c 69 | 63 65 6e 73 65 22 29 3b |(the "Li|cense");|
|00000110| 20 79 6f 75 20 6d 61 79 | 20 6e 6f 74 20 75 73 65 | you may| not use|
|00000120| 20 74 68 69 73 20 66 69 | 6c 65 20 65 78 63 65 70 | this fi|le excep|
|00000130| 74 20 69 6e 20 63 6f 6d | 70 6c 69 61 6e 63 65 20 |t in com|pliance |
|00000140| 77 69 74 68 0a 20 20 20 | 2d 20 74 68 65 20 4c 69 |with. |- the Li|
|00000150| 63 65 6e 73 65 2e 20 59 | 6f 75 20 6d 61 79 20 6f |cense. Y|ou may o|
|00000160| 62 74 61 69 6e 20 61 20 | 63 6f 70 79 20 6f 66 20 |btain a |copy of |
|00000170| 74 68 65 20 4c 69 63 65 | 6e 73 65 20 61 74 0a 20 |the Lice|nse at. |
|00000180| 20 20 2d 20 68 74 74 70 | 3a 2f 2f 77 77 77 2e 6d | - http|://www.m|
|00000190| 6f 7a 69 6c 6c 61 2e 6f | 72 67 2f 4d 50 4c 2f 0a |ozilla.o|rg/MPL/.|
|000001a0| 20 20 20 2d 0a 20 20 20 | 2d 20 53 6f 66 74 77 61 | -. |- Softwa|
|000001b0| 72 65 20 64 69 73 74 72 | 69 62 75 74 65 64 20 75 |re distr|ibuted u|
|000001c0| 6e 64 65 72 20 74 68 65 | 20 4c 69 63 65 6e 73 65 |nder the| License|
|000001d0| 20 69 73 20 64 69 73 74 | 72 69 62 75 74 65 64 20 | is dist|ributed |
|000001e0| 6f 6e 20 61 6e 20 22 41 | 53 20 49 53 22 20 62 61 |on an "A|S IS" ba|
|000001f0| 73 69 73 2c 0a 20 20 20 | 2d 20 57 49 54 48 4f 55 |sis,. |- WITHOU|
|00000200| 54 20 57 41 52 52 41 4e | 54 59 20 4f 46 20 41 4e |T WARRAN|TY OF AN|
|00000210| 59 20 4b 49 4e 44 2c 20 | 65 69 74 68 65 72 20 65 |Y KIND, |either e|
|00000220| 78 70 72 65 73 73 20 6f | 72 20 69 6d 70 6c 69 65 |xpress o|r implie|
|00000230| 64 2e 20 53 65 65 20 74 | 68 65 20 4c 69 63 65 6e |d. See t|he Licen|
|00000240| 73 65 0a 20 20 20 2d 20 | 66 6f 72 20 74 68 65 20 |se. - |for the |
|00000250| 73 70 65 63 69 66 69 63 | 20 6c 61 6e 67 75 61 67 |specific| languag|
|00000260| 65 20 67 6f 76 65 72 6e | 69 6e 67 20 72 69 67 68 |e govern|ing righ|
|00000270| 74 73 20 61 6e 64 20 6c | 69 6d 69 74 61 74 69 6f |ts and l|imitatio|
|00000280| 6e 73 20 75 6e 64 65 72 | 20 74 68 65 0a 20 20 20 |ns under| the. |
|00000290| 2d 20 4c 69 63 65 6e 73 | 65 2e 0a 20 20 20 2d 0a |- Licens|e.. -.|
|000002a0| 20 20 20 2d 20 54 68 65 | 20 4f 72 69 67 69 6e 61 | - The| Origina|
|000002b0| 6c 20 43 6f 64 65 20 69 | 73 20 6d 6f 7a 69 6c 6c |l Code i|s mozill|
|000002c0| 61 2e 6f 72 67 20 63 6f | 64 65 2e 0a 20 20 20 2d |a.org co|de.. -|
|000002d0| 0a 20 20 20 2d 20 54 68 | 65 20 49 6e 69 74 69 61 |. - Th|e Initia|
|000002e0| 6c 20 44 65 76 65 6c 6f | 70 65 72 20 6f 66 20 74 |l Develo|per of t|
|000002f0| 68 65 20 4f 72 69 67 69 | 6e 61 6c 20 43 6f 64 65 |he Origi|nal Code|
|00000300| 20 69 73 0a 20 20 20 2d | 20 4e 65 74 73 63 61 70 | is. -| Netscap|
|00000310| 65 20 43 6f 6d 6d 75 6e | 69 63 61 74 69 6f 6e 73 |e Commun|ications|
|00000320| 20 43 6f 72 70 2e 0a 20 | 20 20 2d 20 50 6f 72 74 | Corp.. | - Port|
|00000330| 69 6f 6e 73 20 63 72 65 | 61 74 65 64 20 62 79 20 |ions cre|ated by |
|00000340| 74 68 65 20 49 6e 69 74 | 69 61 6c 20 44 65 76 65 |the Init|ial Deve|
|00000350| 6c 6f 70 65 72 20 61 72 | 65 20 43 6f 70 79 72 69 |loper ar|e Copyri|
|00000360| 67 68 74 20 28 43 29 20 | 32 30 30 31 0a 20 20 20 |ght (C) |2001. |
|00000370| 2d 20 74 68 65 20 49 6e | 69 74 69 61 6c 20 44 65 |- the In|itial De|
|00000380| 76 65 6c 6f 70 65 72 2e | 20 41 6c 6c 20 52 69 67 |veloper.| All Rig|
|00000390| 68 74 73 20 52 65 73 65 | 72 76 65 64 2e 0a 20 20 |hts Rese|rved.. |
|000003a0| 20 2d 0a 20 20 20 2d 20 | 43 6f 6e 74 72 69 62 75 | -. - |Contribu|
|000003b0| 74 6f 72 28 73 29 3a 0a | 20 20 20 2d 20 20 20 42 |tor(s):.| - B|
|000003c0| 6f 62 20 4c 6f 72 64 20 | 3c 6c 6f 72 64 40 6e 65 |ob Lord |<lord@ne|
|000003d0| 74 73 63 61 70 65 2e 63 | 6f 6d 3e 0a 20 20 20 2d |tscape.c|om>. -|
|000003e0| 20 20 20 54 65 72 72 79 | 20 48 61 79 65 73 20 3c | Terry| Hayes <|
|000003f0| 74 68 61 79 65 73 40 6e | 65 74 73 63 61 70 65 2e |thayes@n|etscape.|
|00000400| 63 6f 6d 3e 0a 20 20 20 | 2d 0a 20 20 20 2d 20 41 |com>. |-. - A|
|00000410| 6c 74 65 72 6e 61 74 69 | 76 65 6c 79 2c 20 74 68 |lternati|vely, th|
|00000420| 65 20 63 6f 6e 74 65 6e | 74 73 20 6f 66 20 74 68 |e conten|ts of th|
|00000430| 69 73 20 66 69 6c 65 20 | 6d 61 79 20 62 65 20 75 |is file |may be u|
|00000440| 73 65 64 20 75 6e 64 65 | 72 20 74 68 65 20 74 65 |sed unde|r the te|
|00000450| 72 6d 73 20 6f 66 0a 20 | 20 20 2d 20 65 69 74 68 |rms of. | - eith|
|00000460| 65 72 20 74 68 65 20 47 | 4e 55 20 47 65 6e 65 72 |er the G|NU Gener|
|00000470| 61 6c 20 50 75 62 6c 69 | 63 20 4c 69 63 65 6e 73 |al Publi|c Licens|
|00000480| 65 20 56 65 72 73 69 6f | 6e 20 32 20 6f 72 20 6c |e Versio|n 2 or l|
|00000490| 61 74 65 72 20 28 74 68 | 65 20 22 47 50 4c 22 29 |ater (th|e "GPL")|
|000004a0| 2c 20 6f 72 0a 20 20 20 | 2d 20 74 68 65 20 47 4e |, or. |- the GN|
|000004b0| 55 20 4c 65 73 73 65 72 | 20 47 65 6e 65 72 61 6c |U Lesser| General|
|000004c0| 20 50 75 62 6c 69 63 20 | 4c 69 63 65 6e 73 65 20 | Public |License |
|000004d0| 56 65 72 73 69 6f 6e 20 | 32 2e 31 20 6f 72 20 6c |Version |2.1 or l|
|000004e0| 61 74 65 72 20 28 74 68 | 65 20 22 4c 47 50 4c 22 |ater (th|e "LGPL"|
|000004f0| 29 2c 0a 20 20 20 2d 20 | 69 6e 20 77 68 69 63 68 |),. - |in which|
|00000500| 20 63 61 73 65 20 74 68 | 65 20 70 72 6f 76 69 73 | case th|e provis|
|00000510| 69 6f 6e 73 20 6f 66 20 | 74 68 65 20 47 50 4c 20 |ions of |the GPL |
|00000520| 6f 72 20 74 68 65 20 4c | 47 50 4c 20 61 72 65 20 |or the L|GPL are |
|00000530| 61 70 70 6c 69 63 61 62 | 6c 65 20 69 6e 73 74 65 |applicab|le inste|
|00000540| 61 64 0a 20 20 20 2d 20 | 6f 66 20 74 68 6f 73 65 |ad. - |of those|
|00000550| 20 61 62 6f 76 65 2e 20 | 49 66 20 79 6f 75 20 77 | above. |If you w|
|00000560| 69 73 68 20 74 6f 20 61 | 6c 6c 6f 77 20 75 73 65 |ish to a|llow use|
|00000570| 20 6f 66 20 79 6f 75 72 | 20 76 65 72 73 69 6f 6e | of your| version|
|00000580| 20 6f 66 20 74 68 69 73 | 20 66 69 6c 65 20 6f 6e | of this| file on|
|00000590| 6c 79 0a 20 20 20 2d 20 | 75 6e 64 65 72 20 74 68 |ly. - |under th|
|000005a0| 65 20 74 65 72 6d 73 20 | 6f 66 20 65 69 74 68 65 |e terms |of eithe|
|000005b0| 72 20 74 68 65 20 47 50 | 4c 20 6f 72 20 74 68 65 |r the GP|L or the|
|000005c0| 20 4c 47 50 4c 2c 20 61 | 6e 64 20 6e 6f 74 20 74 | LGPL, a|nd not t|
|000005d0| 6f 20 61 6c 6c 6f 77 20 | 6f 74 68 65 72 73 20 74 |o allow |others t|
|000005e0| 6f 0a 20 20 20 2d 20 75 | 73 65 20 79 6f 75 72 20 |o. - u|se your |
|000005f0| 76 65 72 73 69 6f 6e 20 | 6f 66 20 74 68 69 73 20 |version |of this |
|00000600| 66 69 6c 65 20 75 6e 64 | 65 72 20 74 68 65 20 74 |file und|er the t|
|00000610| 65 72 6d 73 20 6f 66 20 | 74 68 65 20 4d 50 4c 2c |erms of |the MPL,|
|00000620| 20 69 6e 64 69 63 61 74 | 65 20 79 6f 75 72 0a 20 | indicat|e your. |
|00000630| 20 20 2d 20 64 65 63 69 | 73 69 6f 6e 20 62 79 20 | - deci|sion by |
|00000640| 64 65 6c 65 74 69 6e 67 | 20 74 68 65 20 70 72 6f |deleting| the pro|
|00000650| 76 69 73 69 6f 6e 73 20 | 61 62 6f 76 65 20 61 6e |visions |above an|
|00000660| 64 20 72 65 70 6c 61 63 | 65 20 74 68 65 6d 20 77 |d replac|e them w|
|00000670| 69 74 68 20 74 68 65 20 | 6e 6f 74 69 63 65 0a 20 |ith the |notice. |
|00000680| 20 20 2d 20 61 6e 64 20 | 6f 74 68 65 72 20 70 72 | - and |other pr|
|00000690| 6f 76 69 73 69 6f 6e 73 | 20 72 65 71 75 69 72 65 |ovisions| require|
|000006a0| 64 20 62 79 20 74 68 65 | 20 47 50 4c 20 6f 72 20 |d by the| GPL or |
|000006b0| 74 68 65 20 4c 47 50 4c | 2e 20 49 66 20 79 6f 75 |the LGPL|. If you|
|000006c0| 20 64 6f 20 6e 6f 74 20 | 64 65 6c 65 74 65 0a 20 | do not |delete. |
|000006d0| 20 20 2d 20 74 68 65 20 | 70 72 6f 76 69 73 69 6f | - the |provisio|
|000006e0| 6e 73 20 61 62 6f 76 65 | 2c 20 61 20 72 65 63 69 |ns above|, a reci|
|000006f0| 70 69 65 6e 74 20 6d 61 | 79 20 75 73 65 20 79 6f |pient ma|y use yo|
|00000700| 75 72 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 74 68 |ur versi|on of th|
|00000710| 69 73 20 66 69 6c 65 20 | 75 6e 64 65 72 0a 20 20 |is file |under. |
|00000720| 20 2d 20 74 68 65 20 74 | 65 72 6d 73 20 6f 66 20 | - the t|erms of |
|00000730| 61 6e 79 20 6f 6e 65 20 | 6f 66 20 74 68 65 20 4d |any one |of the M|
|00000740| 50 4c 2c 20 74 68 65 20 | 47 50 4c 20 6f 72 20 74 |PL, the |GPL or t|
|00000750| 68 65 20 4c 47 50 4c 2e | 0a 20 20 20 2d 0a 20 20 |he LGPL.|. -. |
|00000760| 20 2d 20 2a 2a 2a 2a 2a | 20 45 4e 44 20 4c 49 43 | - *****| END LIC|
|00000770| 45 4e 53 45 20 42 4c 4f | 43 4b 20 2a 2a 2a 2a 2a |ENSE BLO|CK *****|
|00000780| 20 2d 2d 3e 0a 0a 3c 3f | 78 6d 6c 2d 73 74 79 6c | -->..<?|xml-styl|
|00000790| 65 73 68 65 65 74 20 68 | 72 65 66 3d 22 63 68 72 |esheet h|ref="chr|
|000007a0| 6f 6d 65 3a 2f 2f 67 6c | 6f 62 61 6c 2f 73 6b 69 |ome://gl|obal/ski|
|000007b0| 6e 2f 22 20 74 79 70 65 | 3d 22 74 65 78 74 2f 63 |n/" type|="text/c|
|000007c0| 73 73 22 3f 3e 0a 0a 3c | 21 44 4f 43 54 59 50 45 |ss"?>..<|!DOCTYPE|
|000007d0| 20 64 69 61 6c 6f 67 20 | 53 59 53 54 45 4d 20 22 | dialog |SYSTEM "|
|000007e0| 63 68 72 6f 6d 65 3a 2f | 2f 70 69 70 70 6b 69 2f |chrome:/|/pippki/|
|000007f0| 6c 6f 63 61 6c 65 2f 70 | 69 70 70 6b 69 2e 64 74 |locale/p|ippki.dt|
|00000800| 64 22 3e 0a 0a 3c 64 69 | 61 6c 6f 67 20 69 64 3d |d">..<di|alog id=|
|00000810| 22 73 65 74 5f 70 61 73 | 73 77 6f 72 64 22 20 74 |"set_pas|sword" t|
|00000820| 69 74 6c 65 3d 22 26 73 | 65 74 50 61 73 73 77 6f |itle="&s|etPasswo|
|00000830| 72 64 2e 74 69 74 6c 65 | 3b 22 0a 20 20 78 6d 6c |rd.title|;". xml|
|00000840| 6e 73 3d 22 68 74 74 70 | 3a 2f 2f 77 77 77 2e 6d |ns="http|://www.m|
|00000850| 6f 7a 69 6c 6c 61 2e 6f | 72 67 2f 6b 65 79 6d 61 |ozilla.o|rg/keyma|
|00000860| 73 74 65 72 2f 67 61 74 | 65 6b 65 65 70 65 72 2f |ster/gat|ekeeper/|
|00000870| 74 68 65 72 65 2e 69 73 | 2e 6f 6e 6c 79 2e 78 75 |there.is|.only.xu|
|00000880| 6c 22 20 20 20 20 20 20 | 0a 20 20 62 75 74 74 6f |l" |. butto|
|00000890| 6e 73 3d 22 61 63 63 65 | 70 74 2c 63 61 6e 63 65 |ns="acce|pt,cance|
|000008a0| 6c 22 0a 20 20 6f 6e 64 | 69 61 6c 6f 67 61 63 63 |l". ond|ialogacc|
|000008b0| 65 70 74 3d 22 72 65 74 | 75 72 6e 20 73 65 74 50 |ept="ret|urn setP|
|000008c0| 61 73 73 77 6f 72 64 28 | 29 3b 22 0a 20 20 6f 6e |assword(|);". on|
|000008d0| 6c 6f 61 64 3d 22 6f 6e | 4c 6f 61 64 28 29 3b 22 |load="on|Load();"|
|000008e0| 3e 0a 0a 3c 73 63 72 69 | 70 74 20 74 79 70 65 3d |>..<scri|pt type=|
|000008f0| 22 61 70 70 6c 69 63 61 | 74 69 6f 6e 2f 78 2d 6a |"applica|tion/x-j|
|00000900| 61 76 61 73 63 72 69 70 | 74 22 20 73 72 63 3d 22 |avascrip|t" src="|
|00000910| 63 68 72 6f 6d 65 3a 2f | 2f 70 69 70 70 6b 69 2f |chrome:/|/pippki/|
|00000920| 63 6f 6e 74 65 6e 74 2f | 70 61 73 73 77 6f 72 64 |content/|password|
|00000930| 2e 6a 73 22 2f 3e 0a 3c | 73 63 72 69 70 74 20 74 |.js"/>.<|script t|
|00000940| 79 70 65 3d 22 61 70 70 | 6c 69 63 61 74 69 6f 6e |ype="app|lication|
|00000950| 2f 78 2d 6a 61 76 61 73 | 63 72 69 70 74 22 20 73 |/x-javas|cript" s|
|00000960| 72 63 3d 22 63 68 72 6f | 6d 65 3a 2f 2f 67 6c 6f |rc="chro|me://glo|
|00000970| 62 61 6c 2f 63 6f 6e 74 | 65 6e 74 2f 73 74 72 72 |bal/cont|ent/strr|
|00000980| 65 73 2e 6a 73 22 2f 3e | 0a 0a 3c 68 62 6f 78 20 |es.js"/>|..<hbox |
|00000990| 61 6c 69 67 6e 3d 22 63 | 65 6e 74 65 72 22 3e 0a |align="c|enter">.|
|000009a0| 20 20 3c 6c 61 62 65 6c | 20 76 61 6c 75 65 3d 22 | <label| value="|
|000009b0| 26 73 65 74 50 61 73 73 | 77 6f 72 64 2e 74 6f 6b |&setPass|word.tok|
|000009c0| 65 6e 4e 61 6d 65 2e 6c | 61 62 65 6c 3b 3a 20 22 |enName.l|abel;: "|
|000009d0| 2f 3e 0a 20 20 3c 6c 61 | 62 65 6c 20 69 64 3d 22 |/>. <la|bel id="|
|000009e0| 74 6f 6b 65 6e 4e 61 6d | 65 22 20 2f 3e 0a 20 20 |tokenNam|e" />. |
|000009f0| 3c 6d 65 6e 75 6c 69 73 | 74 20 69 64 3d 22 74 6f |<menulis|t id="to|
|00000a00| 6b 65 6e 4d 65 6e 75 22 | 20 6f 6e 63 6f 6d 6d 61 |kenMenu"| oncomma|
|00000a10| 6e 64 3d 22 6f 6e 4d 65 | 6e 75 43 68 61 6e 67 65 |nd="onMe|nuChange|
|00000a20| 28 29 22 3e 0a 20 20 20 | 20 20 3c 6d 65 6e 75 70 |()">. | <menup|
|00000a30| 6f 70 75 70 2f 3e 0a 20 | 20 3c 2f 6d 65 6e 75 6c |opup/>. | </menul|
|00000a40| 69 73 74 3e 0a 3c 2f 68 | 62 6f 78 3e 0a 0a 0a 3c |ist>.</h|box>...<|
|00000a50| 21 2d 2d 0a 20 20 20 20 | 3c 6d 65 6e 75 6c 69 73 |!--. |<menulis|
|00000a60| 74 20 69 64 3d 22 73 69 | 67 6e 65 72 4c 69 73 74 |t id="si|gnerList|
|00000a70| 22 20 64 69 73 61 62 6c | 65 64 3d 22 74 72 75 65 |" disabl|ed="true|
|00000a80| 22 3e 0a 20 20 20 20 20 | 20 3c 6d 65 6e 75 70 6f |">. | <menupo|
|00000a90| 70 75 70 3e 0a 20 20 20 | 20 20 20 20 20 3c 6d 65 |pup>. | <me|
|00000aa0| 6e 75 69 74 65 6d 20 69 | 64 3d 22 74 6f 6b 65 6e |nuitem i|d="token|
|00000ab0| 2d 6d 65 6e 75 22 20 6c | 61 62 65 6c 3d 22 42 75 |-menu" l|abel="Bu|
|00000ac0| 69 6c 74 2d 69 6e 20 70 | 72 69 76 61 74 65 20 6b |ilt-in p|rivate k|
|00000ad0| 65 79 20 64 61 74 61 62 | 61 73 65 22 2f 3e 0a 20 |ey datab|ase"/>. |
|00000ae0| 20 20 20 20 20 20 20 3c | 6d 65 6e 75 69 74 65 6d | <|menuitem|
|00000af0| 20 6c 61 62 65 6c 3d 22 | 42 6f 62 20 4c 6f 72 64 | label="|Bob Lord|
|00000b00| 27 73 20 69 42 75 74 74 | 6f 6e 22 2f 3e 0a 20 20 |'s iButt|on"/>. |
|00000b10| 20 20 20 20 3c 2f 6d 65 | 6e 75 70 6f 70 75 70 3e | </me|nupopup>|
|00000b20| 0a 20 20 20 20 3c 2f 6d | 65 6e 75 6c 69 73 74 3e |. </m|enulist>|
|00000b30| 0a 2d 2d 3e 0a 3c 73 65 | 70 61 72 61 74 6f 72 2f |.-->.<se|parator/|
|00000b40| 3e 0a 0a 3c 67 72 6f 75 | 70 62 6f 78 3e 0a 3c 67 |>..<grou|pbox>.<g|
|00000b50| 72 69 64 3e 0a 20 3c 63 | 6f 6c 75 6d 6e 73 3e 0a |rid>. <c|olumns>.|
|00000b60| 20 20 20 3c 63 6f 6c 75 | 6d 6e 2f 3e 0a 20 20 20 | <colu|mn/>. |
|00000b70| 3c 63 6f 6c 75 6d 6e 2f | 3e 20 0a 20 3c 2f 63 6f |<column/|> . </co|
|00000b80| 6c 75 6d 6e 73 3e 0a 20 | 3c 72 6f 77 73 3e 0a 20 |lumns>. |<rows>. |
|00000b90| 20 20 3c 72 6f 77 3e 0a | 20 20 20 20 20 3c 6c 61 | <row>.| <la|
|00000ba0| 62 65 6c 20 76 61 6c 75 | 65 3d 22 26 73 65 74 50 |bel valu|e="&setP|
|00000bb0| 61 73 73 77 6f 72 64 2e | 6f 6c 64 50 61 73 73 77 |assword.|oldPassw|
|00000bc0| 6f 72 64 2e 6c 61 62 65 | 6c 3b 22 2f 3e 20 0a 20 |ord.labe|l;"/> . |
|00000bd0| 20 20 20 20 3c 74 65 78 | 74 62 6f 78 20 69 64 3d | <tex|tbox id=|
|00000be0| 22 6f 6c 64 70 77 22 20 | 74 79 70 65 3d 22 70 61 |"oldpw" |type="pa|
|00000bf0| 73 73 77 6f 72 64 22 2f | 3e 0a 20 20 20 20 20 3c |ssword"/|>. <|
|00000c00| 21 2d 2d 20 54 68 69 73 | 20 74 65 78 74 62 6f 78 |!-- This| textbox|
|00000c10| 20 69 73 20 69 6e 73 65 | 72 74 65 64 20 61 73 20 | is inse|rted as |
|00000c20| 61 20 77 6f 72 6b 61 72 | 6f 75 6e 64 20 74 6f 20 |a workar|ound to |
|00000c30| 74 68 65 20 66 61 63 74 | 20 74 68 61 74 20 6d 61 |the fact| that ma|
|00000c40| 6b 69 6e 67 20 74 68 65 | 20 27 74 79 70 65 27 20 |king the| 'type' |
|00000c50| 0a 20 20 20 20 20 20 20 | 20 20 20 26 20 27 64 69 |. | & 'di|
|00000c60| 73 61 62 6c 65 64 27 20 | 70 72 6f 70 65 72 74 79 |sabled' |property|
|00000c70| 20 6f 66 20 74 68 65 20 | 27 6f 6c 64 70 77 27 20 | of the |'oldpw' |
|00000c80| 74 65 78 74 62 6f 78 20 | 74 6f 67 67 6c 65 20 62 |textbox |toggle b|
|00000c90| 65 74 77 65 65 6e 20 5b | 27 70 61 73 73 77 6f 72 |etween [|'passwor|
|00000ca0| 64 27 20 26 20 0a 20 20 | 20 20 20 20 20 20 20 20 |d' & . | |
|00000cb0| 27 66 61 6c 73 65 27 5d | 20 61 6e 64 20 5b 27 74 |'false']| and ['t|
|00000cc0| 65 78 74 27 20 26 20 27 | 74 72 75 65 27 5d 20 2d |ext' & '|true'] -|
|00000cd0| 20 61 73 20 77 6f 75 6c | 64 20 62 65 20 6e 65 63 | as woul|d be nec|
|00000ce0| 65 73 73 61 72 79 20 69 | 66 20 74 68 65 20 6d 65 |essary i|f the me|
|00000cf0| 6e 75 20 68 61 73 20 6d | 6f 72 65 20 0a 20 20 20 |nu has m|ore . |
|00000d00| 20 20 20 20 20 20 20 74 | 68 61 6e 20 6f 6e 65 20 | t|han one |
|00000d10| 74 6f 6b 65 6e 73 2c 20 | 73 6f 6d 65 20 69 6e 69 |tokens, |some ini|
|00000d20| 74 69 61 6c 69 7a 65 64 | 20 61 6e 64 20 73 6f 6d |tialized| and som|
|00000d30| 65 20 6e 6f 74 20 2d 20 | 64 6f 65 73 20 6e 6f 74 |e not - |does not|
|00000d40| 20 77 6f 72 6b 20 70 72 | 6f 70 65 72 6c 79 2e 20 | work pr|operly. |
|00000d50| 53 6f 2c 20 0a 20 20 20 | 20 20 20 20 20 20 20 65 |So, . | e|
|00000d60| 69 74 68 65 72 20 74 68 | 65 20 74 65 78 74 62 6f |ither th|e textbo|
|00000d70| 78 20 27 6f 6c 64 70 77 | 27 20 6f 72 20 74 68 65 |x 'oldpw|' or the|
|00000d80| 20 74 65 78 74 62 6f 78 | 20 27 6d 65 73 73 61 67 | textbox| 'messag|
|00000d90| 65 27 20 77 6f 75 6c 64 | 20 62 65 20 64 69 73 70 |e' would| be disp|
|00000da0| 6c 61 79 65 64 2c 20 0a | 20 20 20 20 20 20 20 20 |layed, .| |
|00000db0| 20 20 64 65 70 65 6e 64 | 69 6e 67 20 6f 6e 20 74 | depend|ing on t|
|00000dc0| 68 65 20 73 74 61 74 65 | 20 6f 66 20 74 68 65 20 |he state| of the |
|00000dd0| 74 6f 6b 65 6e 20 73 65 | 6c 65 63 74 65 64 20 0a |token se|lected .|
|00000de0| 20 20 20 20 20 2d 2d 3e | 0a 20 20 20 20 20 3c 74 | -->|. <t|
|00000df0| 65 78 74 62 6f 78 20 69 | 64 3d 22 6d 65 73 73 61 |extbox i|d="messa|
|00000e00| 67 65 22 20 64 69 73 61 | 62 6c 65 64 3d 22 74 72 |ge" disa|bled="tr|
|00000e10| 75 65 22 20 2f 3e 0a 20 | 20 20 3c 2f 72 6f 77 3e |ue" />. | </row>|
|00000e20| 0a 20 20 20 3c 72 6f 77 | 3e 0a 20 20 20 20 20 3c |. <row|>. <|
|00000e30| 6c 61 62 65 6c 20 76 61 | 6c 75 65 3d 22 26 73 65 |label va|lue="&se|
|00000e40| 74 50 61 73 73 77 6f 72 | 64 2e 6e 65 77 50 61 73 |tPasswor|d.newPas|
|00000e50| 73 77 6f 72 64 2e 6c 61 | 62 65 6c 3b 22 2f 3e 20 |sword.la|bel;"/> |
|00000e60| 0a 20 20 20 20 20 3c 74 | 65 78 74 62 6f 78 20 69 |. <t|extbox i|
|00000e70| 64 3d 22 70 77 31 22 20 | 74 79 70 65 3d 22 70 61 |d="pw1" |type="pa|
|00000e80| 73 73 77 6f 72 64 22 20 | 0a 20 20 20 20 20 20 20 |ssword" |. |
|00000e90| 6f 6e 69 6e 70 75 74 3d | 22 73 65 74 50 61 73 73 |oninput=|"setPass|
|00000ea0| 77 6f 72 64 53 74 72 65 | 6e 67 74 68 28 29 3b 20 |wordStre|ngth(); |
|00000eb0| 63 68 65 63 6b 50 61 73 | 73 77 6f 72 64 73 28 29 |checkPas|swords()|
|00000ec0| 3b 22 2f 3e 20 0a 20 20 | 20 3c 2f 72 6f 77 3e 0a |;"/> . | </row>.|
|00000ed0| 20 20 20 3c 72 6f 77 3e | 0a 20 20 20 20 20 3c 6c | <row>|. <l|
|00000ee0| 61 62 65 6c 20 76 61 6c | 75 65 3d 22 26 73 65 74 |abel val|ue="&set|
|00000ef0| 50 61 73 73 77 6f 72 64 | 2e 72 65 65 6e 74 65 72 |Password|.reenter|
|00000f00| 50 61 73 73 77 6f 72 64 | 2e 6c 61 62 65 6c 3b 22 |Password|.label;"|
|00000f10| 2f 3e 20 0a 20 20 20 20 | 20 3c 74 65 78 74 62 6f |/> . | <textbo|
|00000f20| 78 20 69 64 3d 22 70 77 | 32 22 20 74 79 70 65 3d |x id="pw|2" type=|
|00000f30| 22 70 61 73 73 77 6f 72 | 64 22 20 6f 6e 69 6e 70 |"passwor|d" oninp|
|00000f40| 75 74 3d 22 63 68 65 63 | 6b 50 61 73 73 77 6f 72 |ut="chec|kPasswor|
|00000f50| 64 73 28 29 3b 22 2f 3e | 20 20 0a 20 20 20 3c 2f |ds();"/>| . </|
|00000f60| 72 6f 77 3e 0a 20 3c 2f | 72 6f 77 73 3e 0a 3c 2f |row>. </|rows>.</|
|00000f70| 67 72 69 64 3e 0a 3c 2f | 67 72 6f 75 70 62 6f 78 |grid>.</|groupbox|
|00000f80| 3e 0a 0a 3c 67 72 6f 75 | 70 62 6f 78 3e 0a 20 3c |>..<grou|pbox>. <|
|00000f90| 63 61 70 74 69 6f 6e 20 | 6c 61 62 65 6c 3d 22 26 |caption |label="&|
|00000fa0| 73 65 74 50 61 73 73 77 | 6f 72 64 2e 6d 65 74 65 |setPassw|ord.mete|
|00000fb0| 72 2e 6c 61 62 65 6c 3b | 22 2f 3e 0a 20 3c 70 72 |r.label;|"/>. <pr|
|00000fc0| 6f 67 72 65 73 73 6d 65 | 74 65 72 20 69 64 3d 22 |ogressme|ter id="|
|00000fd0| 70 77 6d 65 74 65 72 22 | 20 6d 6f 64 65 3d 22 64 |pwmeter"| mode="d|
|00000fe0| 65 74 65 72 6d 69 6e 65 | 64 22 20 0a 20 20 20 20 |etermine|d" . |
|00000ff0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 76 61 | | va|
|00001000| 6c 75 65 3d 22 30 22 2f | 3e 0a 3c 2f 67 72 6f 75 |lue="0"/|>.</grou|
|00001010| 70 62 6f 78 3e 0a 0a 3c | 2f 64 69 61 6c 6f 67 3e |pbox>..<|/dialog>|
|00001020| 0a 50 4b 03 04 0a 00 00 | 00 00 00 4a 5e 89 31 39 |.PK.....|...J^.19|
|00001030| ed 0e e7 88 0a 00 00 88 | 0a 00 00 1e 00 00 00 63 |........|.......c|
|00001040| 6f 6e 74 65 6e 74 2f 70 | 69 70 70 6b 69 2f 67 65 |ontent/p|ippki/ge|
|00001050| 74 70 61 73 73 77 6f 72 | 64 2e 78 75 6c 3c 3f 78 |tpasswor|d.xul<?x|
|00001060| 6d 6c 20 76 65 72 73 69 | 6f 6e 3d 22 31 2e 30 22 |ml versi|on="1.0"|
|00001070| 3f 3e 0a 3c 21 2d 2d 20 | 2a 2a 2a 2a 2a 20 42 45 |?>.<!-- |***** BE|
|00001080| 47 49 4e 20 4c 49 43 45 | 4e 53 45 20 42 4c 4f 43 |GIN LICE|NSE BLOC|
|00001090| 4b 20 2a 2a 2a 2a 2a 0a | 20 20 20 2d 20 56 65 72 |K *****.| - Ver|
|000010a0| 73 69 6f 6e 3a 20 4d 50 | 4c 20 31 2e 31 2f 47 50 |sion: MP|L 1.1/GP|
|000010b0| 4c 20 32 2e 30 2f 4c 47 | 50 4c 20 32 2e 31 0a 20 |L 2.0/LG|PL 2.1. |
|000010c0| 20 20 2d 0a 20 20 20 2d | 20 54 68 65 20 63 6f 6e | -. -| The con|
|000010d0| 74 65 6e 74 73 20 6f 66 | 20 74 68 69 73 20 66 69 |tents of| this fi|
|000010e0| 6c 65 20 61 72 65 20 73 | 75 62 6a 65 63 74 20 74 |le are s|ubject t|
|000010f0| 6f 20 74 68 65 20 4d 6f | 7a 69 6c 6c 61 20 50 75 |o the Mo|zilla Pu|
|00001100| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 56 65 72 |blic Lic|ense Ver|
|00001110| 73 69 6f 6e 0a 20 20 20 | 2d 20 31 2e 31 20 28 74 |sion. |- 1.1 (t|
|00001120| 68 65 20 22 4c 69 63 65 | 6e 73 65 22 29 3b 20 79 |he "Lice|nse"); y|
|00001130| 6f 75 20 6d 61 79 20 6e | 6f 74 20 75 73 65 20 74 |ou may n|ot use t|
|00001140| 68 69 73 20 66 69 6c 65 | 20 65 78 63 65 70 74 20 |his file| except |
|00001150| 69 6e 20 63 6f 6d 70 6c | 69 61 6e 63 65 20 77 69 |in compl|iance wi|
|00001160| 74 68 0a 20 20 20 2d 20 | 74 68 65 20 4c 69 63 65 |th. - |the Lice|
|00001170| 6e 73 65 2e 20 59 6f 75 | 20 6d 61 79 20 6f 62 74 |nse. You| may obt|
|00001180| 61 69 6e 20 61 20 63 6f | 70 79 20 6f 66 20 74 68 |ain a co|py of th|
|00001190| 65 20 4c 69 63 65 6e 73 | 65 20 61 74 0a 20 20 20 |e Licens|e at. |
|000011a0| 2d 20 68 74 74 70 3a 2f | 2f 77 77 77 2e 6d 6f 7a |- http:/|/www.moz|
|000011b0| 69 6c 6c 61 2e 6f 72 67 | 2f 4d 50 4c 2f 0a 20 20 |illa.org|/MPL/. |
|000011c0| 20 2d 0a 20 20 20 2d 20 | 53 6f 66 74 77 61 72 65 | -. - |Software|
|000011d0| 20 64 69 73 74 72 69 62 | 75 74 65 64 20 75 6e 64 | distrib|uted und|
|000011e0| 65 72 20 74 68 65 20 4c | 69 63 65 6e 73 65 20 69 |er the L|icense i|
|000011f0| 73 20 64 69 73 74 72 69 | 62 75 74 65 64 20 6f 6e |s distri|buted on|
|00001200| 20 61 6e 20 22 41 53 20 | 49 53 22 20 62 61 73 69 | an "AS |IS" basi|
|00001210| 73 2c 0a 20 20 20 2d 20 | 57 49 54 48 4f 55 54 20 |s,. - |WITHOUT |
|00001220| 57 41 52 52 41 4e 54 59 | 20 4f 46 20 41 4e 59 20 |WARRANTY| OF ANY |
|00001230| 4b 49 4e 44 2c 20 65 69 | 74 68 65 72 20 65 78 70 |KIND, ei|ther exp|
|00001240| 72 65 73 73 20 6f 72 20 | 69 6d 70 6c 69 65 64 2e |ress or |implied.|
|00001250| 20 53 65 65 20 74 68 65 | 20 4c 69 63 65 6e 73 65 | See the| License|
|00001260| 0a 20 20 20 2d 20 66 6f | 72 20 74 68 65 20 73 70 |. - fo|r the sp|
|00001270| 65 63 69 66 69 63 20 6c | 61 6e 67 75 61 67 65 20 |ecific l|anguage |
|00001280| 67 6f 76 65 72 6e 69 6e | 67 20 72 69 67 68 74 73 |governin|g rights|
|00001290| 20 61 6e 64 20 6c 69 6d | 69 74 61 74 69 6f 6e 73 | and lim|itations|
|000012a0| 20 75 6e 64 65 72 20 74 | 68 65 0a 20 20 20 2d 20 | under t|he. - |
|000012b0| 4c 69 63 65 6e 73 65 2e | 0a 20 20 20 2d 0a 20 20 |License.|. -. |
|000012c0| 20 2d 20 54 68 65 20 4f | 72 69 67 69 6e 61 6c 20 | - The O|riginal |
|000012d0| 43 6f 64 65 20 69 73 20 | 6d 6f 7a 69 6c 6c 61 2e |Code is |mozilla.|
|000012e0| 6f 72 67 20 63 6f 64 65 | 2e 0a 20 20 20 2d 0a 20 |org code|.. -. |
|000012f0| 20 20 2d 20 54 68 65 20 | 49 6e 69 74 69 61 6c 20 | - The |Initial |
|00001300| 44 65 76 65 6c 6f 70 65 | 72 20 6f 66 20 74 68 65 |Develope|r of the|
|00001310| 20 4f 72 69 67 69 6e 61 | 6c 20 43 6f 64 65 20 69 | Origina|l Code i|
|00001320| 73 0a 20 20 20 2d 20 4e | 65 74 73 63 61 70 65 20 |s. - N|etscape |
|00001330| 43 6f 6d 6d 75 6e 69 63 | 61 74 69 6f 6e 73 20 43 |Communic|ations C|
|00001340| 6f 72 70 2e 0a 20 20 20 | 2d 20 50 6f 72 74 69 6f |orp.. |- Portio|
|00001350| 6e 73 20 63 72 65 61 74 | 65 64 20 62 79 20 74 68 |ns creat|ed by th|
|00001360| 65 20 49 6e 69 74 69 61 | 6c 20 44 65 76 65 6c 6f |e Initia|l Develo|
|00001370| 70 65 72 20 61 72 65 20 | 43 6f 70 79 72 69 67 68 |per are |Copyrigh|
|00001380| 74 20 28 43 29 20 32 30 | 30 31 0a 20 20 20 2d 20 |t (C) 20|01. - |
|00001390| 74 68 65 20 49 6e 69 74 | 69 61 6c 20 44 65 76 65 |the Init|ial Deve|
|000013a0| 6c 6f 70 65 72 2e 20 41 | 6c 6c 20 52 69 67 68 74 |loper. A|ll Right|
|000013b0| 73 20 52 65 73 65 72 76 | 65 64 2e 0a 20 20 20 2d |s Reserv|ed.. -|
|000013c0| 0a 20 20 20 2d 20 43 6f | 6e 74 72 69 62 75 74 6f |. - Co|ntributo|
|000013d0| 72 28 73 29 3a 0a 20 20 | 20 2d 20 20 20 42 6f 62 |r(s):. | - Bob|
|000013e0| 20 4c 6f 72 64 20 3c 6c | 6f 72 64 40 6e 65 74 73 | Lord <l|ord@nets|
|000013f0| 63 61 70 65 2e 63 6f 6d | 3e 0a 20 20 20 2d 20 20 |cape.com|>. - |
|00001400| 20 54 65 72 72 79 20 48 | 61 79 65 73 20 3c 74 68 | Terry H|ayes <th|
|00001410| 61 79 65 73 40 6e 65 74 | 73 63 61 70 65 2e 63 6f |ayes@net|scape.co|
|00001420| 6d 3e 0a 20 20 20 2d 20 | 20 20 49 61 6e 20 4d 63 |m>. - | Ian Mc|
|00001430| 47 72 65 65 72 20 3c 6d | 63 67 72 65 65 72 40 6e |Greer <m|cgreer@n|
|00001440| 65 74 73 63 61 70 65 2e | 63 6f 6d 3e 0a 20 20 20 |etscape.|com>. |
|00001450| 2d 0a 20 20 20 2d 20 41 | 6c 74 65 72 6e 61 74 69 |-. - A|lternati|
|00001460| 76 65 6c 79 2c 20 74 68 | 65 20 63 6f 6e 74 65 6e |vely, th|e conten|
|00001470| 74 73 20 6f 66 20 74 68 | 69 73 20 66 69 6c 65 20 |ts of th|is file |
|00001480| 6d 61 79 20 62 65 20 75 | 73 65 64 20 75 6e 64 65 |may be u|sed unde|
|00001490| 72 20 74 68 65 20 74 65 | 72 6d 73 20 6f 66 0a 20 |r the te|rms of. |
|000014a0| 20 20 2d 20 65 69 74 68 | 65 72 20 74 68 65 20 47 | - eith|er the G|
|000014b0| 4e 55 20 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |NU Gener|al Publi|
|000014c0| 63 20 4c 69 63 65 6e 73 | 65 20 56 65 72 73 69 6f |c Licens|e Versio|
|000014d0| 6e 20 32 20 6f 72 20 6c | 61 74 65 72 20 28 74 68 |n 2 or l|ater (th|
|000014e0| 65 20 22 47 50 4c 22 29 | 2c 20 6f 72 0a 20 20 20 |e "GPL")|, or. |
|000014f0| 2d 20 74 68 65 20 47 4e | 55 20 4c 65 73 73 65 72 |- the GN|U Lesser|
|00001500| 20 47 65 6e 65 72 61 6c | 20 50 75 62 6c 69 63 20 | General| Public |
|00001510| 4c 69 63 65 6e 73 65 20 | 56 65 72 73 69 6f 6e 20 |License |Version |
|00001520| 32 2e 31 20 6f 72 20 6c | 61 74 65 72 20 28 74 68 |2.1 or l|ater (th|
|00001530| 65 20 22 4c 47 50 4c 22 | 29 2c 0a 20 20 20 2d 20 |e "LGPL"|),. - |
|00001540| 69 6e 20 77 68 69 63 68 | 20 63 61 73 65 20 74 68 |in which| case th|
|00001550| 65 20 70 72 6f 76 69 73 | 69 6f 6e 73 20 6f 66 20 |e provis|ions of |
|00001560| 74 68 65 20 47 50 4c 20 | 6f 72 20 74 68 65 20 4c |the GPL |or the L|
|00001570| 47 50 4c 20 61 72 65 20 | 61 70 70 6c 69 63 61 62 |GPL are |applicab|
|00001580| 6c 65 20 69 6e 73 74 65 | 61 64 0a 20 20 20 2d 20 |le inste|ad. - |
|00001590| 6f 66 20 74 68 6f 73 65 | 20 61 62 6f 76 65 2e 20 |of those| above. |
|000015a0| 49 66 20 79 6f 75 20 77 | 69 73 68 20 74 6f 20 61 |If you w|ish to a|
|000015b0| 6c 6c 6f 77 20 75 73 65 | 20 6f 66 20 79 6f 75 72 |llow use| of your|
|000015c0| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 74 68 69 73 | version| of this|
|000015d0| 20 66 69 6c 65 20 6f 6e | 6c 79 0a 20 20 20 2d 20 | file on|ly. - |
|000015e0| 75 6e 64 65 72 20 74 68 | 65 20 74 65 72 6d 73 20 |under th|e terms |
|000015f0| 6f 66 20 65 69 74 68 65 | 72 20 74 68 65 20 47 50 |of eithe|r the GP|
|00001600| 4c 20 6f 72 20 74 68 65 | 20 4c 47 50 4c 2c 20 61 |L or the| LGPL, a|
|00001610| 6e 64 20 6e 6f 74 20 74 | 6f 20 61 6c 6c 6f 77 20 |nd not t|o allow |
|00001620| 6f 74 68 65 72 73 20 74 | 6f 0a 20 20 20 2d 20 75 |others t|o. - u|
|00001630| 73 65 20 79 6f 75 72 20 | 76 65 72 73 69 6f 6e 20 |se your |version |
|00001640| 6f 66 20 74 68 69 73 20 | 66 69 6c 65 20 75 6e 64 |of this |file und|
|00001650| 65 72 20 74 68 65 20 74 | 65 72 6d 73 20 6f 66 20 |er the t|erms of |
|00001660| 74 68 65 20 4d 50 4c 2c | 20 69 6e 64 69 63 61 74 |the MPL,| indicat|
|00001670| 65 20 79 6f 75 72 0a 20 | 20 20 2d 20 64 65 63 69 |e your. | - deci|
|00001680| 73 69 6f 6e 20 62 79 20 | 64 65 6c 65 74 69 6e 67 |sion by |deleting|
|00001690| 20 74 68 65 20 70 72 6f | 76 69 73 69 6f 6e 73 20 | the pro|visions |
|000016a0| 61 62 6f 76 65 20 61 6e | 64 20 72 65 70 6c 61 63 |above an|d replac|
|000016b0| 65 20 74 68 65 6d 20 77 | 69 74 68 20 74 68 65 20 |e them w|ith the |
|000016c0| 6e 6f 74 69 63 65 0a 20 | 20 20 2d 20 61 6e 64 20 |notice. | - and |
|000016d0| 6f 74 68 65 72 20 70 72 | 6f 76 69 73 69 6f 6e 73 |other pr|ovisions|
|000016e0| 20 72 65 71 75 69 72 65 | 64 20 62 79 20 74 68 65 | require|d by the|
|000016f0| 20 47 50 4c 20 6f 72 20 | 74 68 65 20 4c 47 50 4c | GPL or |the LGPL|
|00001700| 2e 20 49 66 20 79 6f 75 | 20 64 6f 20 6e 6f 74 20 |. If you| do not |
|00001710| 64 65 6c 65 74 65 0a 20 | 20 20 2d 20 74 68 65 20 |delete. | - the |
|00001720| 70 72 6f 76 69 73 69 6f | 6e 73 20 61 62 6f 76 65 |provisio|ns above|
|00001730| 2c 20 61 20 72 65 63 69 | 70 69 65 6e 74 20 6d 61 |, a reci|pient ma|
|00001740| 79 20 75 73 65 20 79 6f | 75 72 20 76 65 72 73 69 |y use yo|ur versi|
|00001750| 6f 6e 20 6f 66 20 74 68 | 69 73 20 66 69 6c 65 20 |on of th|is file |
|00001760| 75 6e 64 65 72 0a 20 20 | 20 2d 20 74 68 65 20 74 |under. | - the t|
|00001770| 65 72 6d 73 20 6f 66 20 | 61 6e 79 20 6f 6e 65 20 |erms of |any one |
|00001780| 6f 66 20 74 68 65 20 4d | 50 4c 2c 20 74 68 65 20 |of the M|PL, the |
|00001790| 47 50 4c 20 6f 72 20 74 | 68 65 20 4c 47 50 4c 2e |GPL or t|he LGPL.|
|000017a0| 0a 20 20 20 2d 0a 20 20 | 20 2d 20 2a 2a 2a 2a 2a |. -. | - *****|
|000017b0| 20 45 4e 44 20 4c 49 43 | 45 4e 53 45 20 42 4c 4f | END LIC|ENSE BLO|
|000017c0| 43 4b 20 2a 2a 2a 2a 2a | 20 2d 2d 3e 0a 0a 3c 3f |CK *****| -->..<?|
|000017d0| 78 6d 6c 2d 73 74 79 6c | 65 73 68 65 65 74 20 68 |xml-styl|esheet h|
|000017e0| 72 65 66 3d 22 63 68 72 | 6f 6d 65 3a 2f 2f 67 6c |ref="chr|ome://gl|
|000017f0| 6f 62 61 6c 2f 73 6b 69 | 6e 2f 22 20 74 79 70 65 |obal/ski|n/" type|
|00001800| 3d 22 74 65 78 74 2f 63 | 73 73 22 3f 3e 0a 0a 3c |="text/c|ss"?>..<|
|00001810| 21 44 4f 43 54 59 50 45 | 20 64 69 61 6c 6f 67 20 |!DOCTYPE| dialog |
|00001820| 53 59 53 54 45 4d 20 22 | 63 68 72 6f 6d 65 3a 2f |SYSTEM "|chrome:/|
|00001830| 2f 70 69 70 70 6b 69 2f | 6c 6f 63 61 6c 65 2f 70 |/pippki/|locale/p|
|00001840| 69 70 70 6b 69 2e 64 74 | 64 22 3e 0a 0a 3c 64 69 |ippki.dt|d">..<di|
|00001850| 61 6c 6f 67 20 69 64 3d | 22 67 65 74 70 61 73 73 |alog id=|"getpass|
|00001860| 77 6f 72 64 22 20 74 69 | 74 6c 65 3d 22 26 67 65 |word" ti|tle="&ge|
|00001870| 74 50 61 73 73 77 6f 72 | 64 2e 74 69 74 6c 65 3b |tPasswor|d.title;|
|00001880| 22 0a 20 20 78 6d 6c 6e | 73 3d 22 68 74 74 70 3a |". xmln|s="http:|
|00001890| 2f 2f 77 77 77 2e 6d 6f | 7a 69 6c 6c 61 2e 6f 72 |//www.mo|zilla.or|
|000018a0| 67 2f 6b 65 79 6d 61 73 | 74 65 72 2f 67 61 74 65 |g/keymas|ter/gate|
|000018b0| 6b 65 65 70 65 72 2f 74 | 68 65 72 65 2e 69 73 2e |keeper/t|here.is.|
|000018c0| 6f 6e 6c 79 2e 78 75 6c | 22 20 20 20 20 20 20 0a |only.xul|" .|
|000018d0| 20 20 73 74 79 6c 65 3d | 22 77 69 64 74 68 3a 20 | style=|"width: |
|000018e0| 33 30 65 6d 3b 22 0a 20 | 20 62 75 74 74 6f 6e 73 |30em;". | buttons|
|000018f0| 3d 22 61 63 63 65 70 74 | 2c 63 61 6e 63 65 6c 22 |="accept|,cancel"|
|00001900| 0a 20 20 6f 6e 64 69 61 | 6c 6f 67 61 63 63 65 70 |. ondia|logaccep|
|00001910| 74 3d 22 72 65 74 75 72 | 6e 20 67 65 74 50 61 73 |t="retur|n getPas|
|00001920| 73 77 6f 72 64 28 29 3b | 22 0a 20 20 6f 6e 6c 6f |sword();|". onlo|
|00001930| 61 64 3d 22 6f 6e 4c 6f | 61 64 28 29 3b 22 3e 0a |ad="onLo|ad();">.|
|00001940| 0a 20 20 3c 73 63 72 69 | 70 74 20 74 79 70 65 3d |. <scri|pt type=|
|00001950| 22 61 70 70 6c 69 63 61 | 74 69 6f 6e 2f 78 2d 6a |"applica|tion/x-j|
|00001960| 61 76 61 73 63 72 69 70 | 74 22 20 73 72 63 3d 22 |avascrip|t" src="|
|00001970| 63 68 72 6f 6d 65 3a 2f | 2f 70 69 70 70 6b 69 2f |chrome:/|/pippki/|
|00001980| 63 6f 6e 74 65 6e 74 2f | 70 61 73 73 77 6f 72 64 |content/|password|
|00001990| 2e 6a 73 22 2f 3e 0a 20 | 20 3c 73 63 72 69 70 74 |.js"/>. | <script|
|000019a0| 20 74 79 70 65 3d 22 61 | 70 70 6c 69 63 61 74 69 | type="a|pplicati|
|000019b0| 6f 6e 2f 78 2d 6a 61 76 | 61 73 63 72 69 70 74 22 |on/x-jav|ascript"|
|000019c0| 20 73 72 63 3d 22 63 68 | 72 6f 6d 65 3a 2f 2f 67 | src="ch|rome://g|
|000019d0| 6c 6f 62 61 6c 2f 63 6f | 6e 74 65 6e 74 2f 73 74 |lobal/co|ntent/st|
|000019e0| 72 72 65 73 2e 6a 73 22 | 2f 3e 0a 0a 20 20 3c 68 |rres.js"|/>.. <h|
|000019f0| 62 6f 78 3e 0a 20 20 20 | 20 3c 6c 61 62 65 6c 20 |box>. | <label |
|00001a00| 76 61 6c 75 65 3d 22 26 | 67 65 74 50 61 73 73 77 |value="&|getPassw|
|00001a10| 6f 72 64 2e 74 6f 6b 65 | 6e 4e 61 6d 65 2e 6c 61 |ord.toke|nName.la|
|00001a20| 62 65 6c 3b 3a 22 2f 3e | 0a 20 20 20 20 3c 6c 61 |bel;:"/>|. <la|
|00001a30| 62 65 6c 20 69 64 3d 22 | 74 6f 6b 65 6e 4e 61 6d |bel id="|tokenNam|
|00001a40| 65 22 2f 3e 0a 20 20 3c | 2f 68 62 6f 78 3e 0a 20 |e"/>. <|/hbox>. |
|00001a50| 20 3c 73 65 70 61 72 61 | 74 6f 72 2f 3e 0a 20 20 | <separa|tor/>. |
|00001a60| 3c 68 62 6f 78 20 61 6c | 69 67 6e 3d 22 63 65 6e |<hbox al|ign="cen|
|00001a70| 74 65 72 22 3e 0a 20 20 | 20 20 3c 6c 61 62 65 6c |ter">. | <label|
|00001a80| 20 76 61 6c 75 65 3d 22 | 26 67 65 74 50 61 73 73 | value="|&getPass|
|00001a90| 77 6f 72 64 2e 70 61 73 | 73 77 6f 72 64 2e 6c 61 |word.pas|sword.la|
|00001aa0| 62 65 6c 3b 22 2f 3e 0a | 20 20 20 20 3c 74 65 78 |bel;"/>.| <tex|
|00001ab0| 74 62 6f 78 20 69 64 3d | 22 70 77 31 22 20 74 79 |tbox id=|"pw1" ty|
|00001ac0| 70 65 3d 22 70 61 73 73 | 77 6f 72 64 22 2f 3e 0a |pe="pass|word"/>.|
|00001ad0| 20 20 3c 2f 68 62 6f 78 | 3e 0a 0a 3c 2f 64 69 61 | </hbox|>..</dia|
|00001ae0| 6c 6f 67 3e 0a 50 4b 03 | 04 0a 00 00 00 00 00 b8 |log>.PK.|........|
|00001af0| 76 42 36 56 54 95 d9 9b | 28 00 00 9b 28 00 00 1a |vB6VT...|(...(...|
|00001b00| 00 00 00 63 6f 6e 74 65 | 6e 74 2f 70 69 70 70 6b |...conte|nt/pippk|
|00001b10| 69 2f 70 61 73 73 77 6f | 72 64 2e 6a 73 2f 2a 20 |i/passwo|rd.js/* |
|00001b20| 2a 2a 2a 2a 2a 20 42 45 | 47 49 4e 20 4c 49 43 45 |***** BE|GIN LICE|
|00001b30| 4e 53 45 20 42 4c 4f 43 | 4b 20 2a 2a 2a 2a 2a 0a |NSE BLOC|K *****.|
|00001b40| 20 2a 20 56 65 72 73 69 | 6f 6e 3a 20 4d 50 4c 20 | * Versi|on: MPL |
|00001b50| 31 2e 31 2f 47 50 4c 20 | 32 2e 30 2f 4c 47 50 4c |1.1/GPL |2.0/LGPL|
|00001b60| 20 32 2e 31 0a 20 2a 0a | 20 2a 20 54 68 65 20 63 | 2.1. *.| * The c|
|00001b70| 6f 6e 74 65 6e 74 73 20 | 6f 66 20 74 68 69 73 20 |ontents |of this |
|00001b80| 66 69 6c 65 20 61 72 65 | 20 73 75 62 6a 65 63 74 |file are| subject|
|00001b90| 20 74 6f 20 74 68 65 20 | 4d 6f 7a 69 6c 6c 61 20 | to the |Mozilla |
|00001ba0| 50 75 62 6c 69 63 20 4c | 69 63 65 6e 73 65 20 56 |Public L|icense V|
|00001bb0| 65 72 73 69 6f 6e 0a 20 | 2a 20 31 2e 31 20 28 74 |ersion. |* 1.1 (t|
|00001bc0| 68 65 20 22 4c 69 63 65 | 6e 73 65 22 29 3b 20 79 |he "Lice|nse"); y|
|00001bd0| 6f 75 20 6d 61 79 20 6e | 6f 74 20 75 73 65 20 74 |ou may n|ot use t|
|00001be0| 68 69 73 20 66 69 6c 65 | 20 65 78 63 65 70 74 20 |his file| except |
|00001bf0| 69 6e 20 63 6f 6d 70 6c | 69 61 6e 63 65 20 77 69 |in compl|iance wi|
|00001c00| 74 68 0a 20 2a 20 74 68 | 65 20 4c 69 63 65 6e 73 |th. * th|e Licens|
|00001c10| 65 2e 20 59 6f 75 20 6d | 61 79 20 6f 62 74 61 69 |e. You m|ay obtai|
|00001c20| 6e 20 61 20 63 6f 70 79 | 20 6f 66 20 74 68 65 20 |n a copy| of the |
|00001c30| 4c 69 63 65 6e 73 65 20 | 61 74 0a 20 2a 20 68 74 |License |at. * ht|
|00001c40| 74 70 3a 2f 2f 77 77 77 | 2e 6d 6f 7a 69 6c 6c 61 |tp://www|.mozilla|
|00001c50| 2e 6f 72 67 2f 4d 50 4c | 2f 0a 20 2a 0a 20 2a 20 |.org/MPL|/. *. * |
|00001c60| 53 6f 66 74 77 61 72 65 | 20 64 69 73 74 72 69 62 |Software| distrib|
|00001c70| 75 74 65 64 20 75 6e 64 | 65 72 20 74 68 65 20 4c |uted und|er the L|
|00001c80| 69 63 65 6e 73 65 20 69 | 73 20 64 69 73 74 72 69 |icense i|s distri|
|00001c90| 62 75 74 65 64 20 6f 6e | 20 61 6e 20 22 41 53 20 |buted on| an "AS |
|00001ca0| 49 53 22 20 62 61 73 69 | 73 2c 0a 20 2a 20 57 49 |IS" basi|s,. * WI|
|00001cb0| 54 48 4f 55 54 20 57 41 | 52 52 41 4e 54 59 20 4f |THOUT WA|RRANTY O|
|00001cc0| 46 20 41 4e 59 20 4b 49 | 4e 44 2c 20 65 69 74 68 |F ANY KI|ND, eith|
|00001cd0| 65 72 20 65 78 70 72 65 | 73 73 20 6f 72 20 69 6d |er expre|ss or im|
|00001ce0| 70 6c 69 65 64 2e 20 53 | 65 65 20 74 68 65 20 4c |plied. S|ee the L|
|00001cf0| 69 63 65 6e 73 65 0a 20 | 2a 20 66 6f 72 20 74 68 |icense. |* for th|
|00001d00| 65 20 73 70 65 63 69 66 | 69 63 20 6c 61 6e 67 75 |e specif|ic langu|
|00001d10| 61 67 65 20 67 6f 76 65 | 72 6e 69 6e 67 20 72 69 |age gove|rning ri|
|00001d20| 67 68 74 73 20 61 6e 64 | 20 6c 69 6d 69 74 61 74 |ghts and| limitat|
|00001d30| 69 6f 6e 73 20 75 6e 64 | 65 72 20 74 68 65 0a 20 |ions und|er the. |
|00001d40| 2a 20 4c 69 63 65 6e 73 | 65 2e 0a 20 2a 0a 20 2a |* Licens|e.. *. *|
|00001d50| 20 54 68 65 20 4f 72 69 | 67 69 6e 61 6c 20 43 6f | The Ori|ginal Co|
|00001d60| 64 65 20 69 73 20 6d 6f | 7a 69 6c 6c 61 2e 6f 72 |de is mo|zilla.or|
|00001d70| 67 20 63 6f 64 65 2e 0a | 20 2a 0a 20 2a 20 54 68 |g code..| *. * Th|
|00001d80| 65 20 49 6e 69 74 69 61 | 6c 20 44 65 76 65 6c 6f |e Initia|l Develo|
|00001d90| 70 65 72 20 6f 66 20 74 | 68 65 20 4f 72 69 67 69 |per of t|he Origi|
|00001da0| 6e 61 6c 20 43 6f 64 65 | 20 69 73 0a 20 2a 20 4e |nal Code| is. * N|
|00001db0| 65 74 73 63 61 70 65 20 | 43 6f 6d 6d 75 6e 69 63 |etscape |Communic|
|00001dc0| 61 74 69 6f 6e 73 20 43 | 6f 72 70 6f 72 61 74 69 |ations C|orporati|
|00001dd0| 6f 6e 2e 0a 20 2a 20 50 | 6f 72 74 69 6f 6e 73 20 |on.. * P|ortions |
|00001de0| 63 72 65 61 74 65 64 20 | 62 79 20 74 68 65 20 49 |created |by the I|
|00001df0| 6e 69 74 69 61 6c 20 44 | 65 76 65 6c 6f 70 65 72 |nitial D|eveloper|
|00001e00| 20 61 72 65 20 43 6f 70 | 79 72 69 67 68 74 20 28 | are Cop|yright (|
|00001e10| 43 29 20 32 30 30 31 0a | 20 2a 20 74 68 65 20 49 |C) 2001.| * the I|
|00001e20| 6e 69 74 69 61 6c 20 44 | 65 76 65 6c 6f 70 65 72 |nitial D|eveloper|
|00001e30| 2e 20 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 |. All Ri|ghts Res|
|00001e40| 65 72 76 65 64 2e 0a 20 | 2a 0a 20 2a 20 43 6f 6e |erved.. |*. * Con|
|00001e50| 74 72 69 62 75 74 6f 72 | 28 73 29 3a 0a 20 2a 20 |tributor|(s):. * |
|00001e60| 20 20 42 6f 62 20 4c 6f | 72 64 20 3c 6c 6f 72 64 | Bob Lo|rd <lord|
|00001e70| 40 6e 65 74 73 63 61 70 | 65 2e 63 6f 6d 3e 0a 20 |@netscap|e.com>. |
|00001e80| 2a 20 20 20 54 65 72 72 | 79 20 48 61 79 65 73 20 |* Terr|y Hayes |
|00001e90| 3c 74 68 61 79 65 73 40 | 6e 65 74 73 63 61 70 65 |<thayes@|netscape|
|00001ea0| 2e 63 6f 6d 3e 0a 20 2a | 0a 20 2a 20 41 6c 74 65 |.com>. *|. * Alte|
|00001eb0| 72 6e 61 74 69 76 65 6c | 79 2c 20 74 68 65 20 63 |rnativel|y, the c|
|00001ec0| 6f 6e 74 65 6e 74 73 20 | 6f 66 20 74 68 69 73 20 |ontents |of this |
|00001ed0| 66 69 6c 65 20 6d 61 79 | 20 62 65 20 75 73 65 64 |file may| be used|
|00001ee0| 20 75 6e 64 65 72 20 74 | 68 65 20 74 65 72 6d 73 | under t|he terms|
|00001ef0| 20 6f 66 0a 20 2a 20 65 | 69 74 68 65 72 20 74 68 | of. * e|ither th|
|00001f00| 65 20 47 4e 55 20 47 65 | 6e 65 72 61 6c 20 50 75 |e GNU Ge|neral Pu|
|00001f10| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 56 65 72 |blic Lic|ense Ver|
|00001f20| 73 69 6f 6e 20 32 20 6f | 72 20 6c 61 74 65 72 20 |sion 2 o|r later |
|00001f30| 28 74 68 65 20 22 47 50 | 4c 22 29 2c 20 6f 72 0a |(the "GP|L"), or.|
|00001f40| 20 2a 20 74 68 65 20 47 | 4e 55 20 4c 65 73 73 65 | * the G|NU Lesse|
|00001f50| 72 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |r Genera|l Public|
|00001f60| 20 4c 69 63 65 6e 73 65 | 20 56 65 72 73 69 6f 6e | License| Version|
|00001f70| 20 32 2e 31 20 6f 72 20 | 6c 61 74 65 72 20 28 74 | 2.1 or |later (t|
|00001f80| 68 65 20 22 4c 47 50 4c | 22 29 2c 0a 20 2a 20 69 |he "LGPL|"),. * i|
|00001f90| 6e 20 77 68 69 63 68 20 | 63 61 73 65 20 74 68 65 |n which |case the|
|00001fa0| 20 70 72 6f 76 69 73 69 | 6f 6e 73 20 6f 66 20 74 | provisi|ons of t|
|00001fb0| 68 65 20 47 50 4c 20 6f | 72 20 74 68 65 20 4c 47 |he GPL o|r the LG|
|00001fc0| 50 4c 20 61 72 65 20 61 | 70 70 6c 69 63 61 62 6c |PL are a|pplicabl|
|00001fd0| 65 20 69 6e 73 74 65 61 | 64 0a 20 2a 20 6f 66 20 |e instea|d. * of |
|00001fe0| 74 68 6f 73 65 20 61 62 | 6f 76 65 2e 20 49 66 20 |those ab|ove. If |
|00001ff0| 79 6f 75 20 77 69 73 68 | 20 74 6f 20 61 6c 6c 6f |you wish| to allo|
|00002000| 77 20 75 73 65 20 6f 66 | 20 79 6f 75 72 20 76 65 |w use of| your ve|
|00002010| 72 73 69 6f 6e 20 6f 66 | 20 74 68 69 73 20 66 69 |rsion of| this fi|
|00002020| 6c 65 20 6f 6e 6c 79 0a | 20 2a 20 75 6e 64 65 72 |le only.| * under|
|00002030| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 20 65 69 | the ter|ms of ei|
|00002040| 74 68 65 72 20 74 68 65 | 20 47 50 4c 20 6f 72 20 |ther the| GPL or |
|00002050| 74 68 65 20 4c 47 50 4c | 2c 20 61 6e 64 20 6e 6f |the LGPL|, and no|
|00002060| 74 20 74 6f 20 61 6c 6c | 6f 77 20 6f 74 68 65 72 |t to all|ow other|
|00002070| 73 20 74 6f 0a 20 2a 20 | 75 73 65 20 79 6f 75 72 |s to. * |use your|
|00002080| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 74 68 69 73 | version| of this|
|00002090| 20 66 69 6c 65 20 75 6e | 64 65 72 20 74 68 65 20 | file un|der the |
|000020a0| 74 65 72 6d 73 20 6f 66 | 20 74 68 65 20 4d 50 4c |terms of| the MPL|
|000020b0| 2c 20 69 6e 64 69 63 61 | 74 65 20 79 6f 75 72 0a |, indica|te your.|
|000020c0| 20 2a 20 64 65 63 69 73 | 69 6f 6e 20 62 79 20 64 | * decis|ion by d|
|000020d0| 65 6c 65 74 69 6e 67 20 | 74 68 65 20 70 72 6f 76 |eleting |the prov|
|000020e0| 69 73 69 6f 6e 73 20 61 | 62 6f 76 65 20 61 6e 64 |isions a|bove and|
|000020f0| 20 72 65 70 6c 61 63 65 | 20 74 68 65 6d 20 77 69 | replace| them wi|
|00002100| 74 68 20 74 68 65 20 6e | 6f 74 69 63 65 0a 20 2a |th the n|otice. *|
|00002110| 20 61 6e 64 20 6f 74 68 | 65 72 20 70 72 6f 76 69 | and oth|er provi|
|00002120| 73 69 6f 6e 73 20 72 65 | 71 75 69 72 65 64 20 62 |sions re|quired b|
|00002130| 79 20 74 68 65 20 47 50 | 4c 20 6f 72 20 74 68 65 |y the GP|L or the|
|00002140| 20 4c 47 50 4c 2e 20 49 | 66 20 79 6f 75 20 64 6f | LGPL. I|f you do|
|00002150| 20 6e 6f 74 20 64 65 6c | 65 74 65 0a 20 2a 20 74 | not del|ete. * t|
|00002160| 68 65 20 70 72 6f 76 69 | 73 69 6f 6e 73 20 61 62 |he provi|sions ab|
|00002170| 6f 76 65 2c 20 61 20 72 | 65 63 69 70 69 65 6e 74 |ove, a r|ecipient|
|00002180| 20 6d 61 79 20 75 73 65 | 20 79 6f 75 72 20 76 65 | may use| your ve|
|00002190| 72 73 69 6f 6e 20 6f 66 | 20 74 68 69 73 20 66 69 |rsion of| this fi|
|000021a0| 6c 65 20 75 6e 64 65 72 | 0a 20 2a 20 74 68 65 20 |le under|. * the |
|000021b0| 74 65 72 6d 73 20 6f 66 | 20 61 6e 79 20 6f 6e 65 |terms of| any one|
|000021c0| 20 6f 66 20 74 68 65 20 | 4d 50 4c 2c 20 74 68 65 | of the |MPL, the|
|000021d0| 20 47 50 4c 20 6f 72 20 | 74 68 65 20 4c 47 50 4c | GPL or |the LGPL|
|000021e0| 2e 0a 20 2a 0a 20 2a 20 | 2a 2a 2a 2a 2a 20 45 4e |.. *. * |***** EN|
|000021f0| 44 20 4c 49 43 45 4e 53 | 45 20 42 4c 4f 43 4b 20 |D LICENS|E BLOCK |
|00002200| 2a 2a 2a 2a 2a 20 2a 2f | 0a 63 6f 6e 73 74 20 6e |***** */|.const n|
|00002210| 73 50 4b 31 31 54 6f 6b | 65 6e 44 42 20 3d 20 22 |sPK11Tok|enDB = "|
|00002220| 40 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 2f 73 65 63 |@mozilla|.org/sec|
|00002230| 75 72 69 74 79 2f 70 6b | 31 31 74 6f 6b 65 6e 64 |urity/pk|11tokend|
|00002240| 62 3b 31 22 3b 0a 63 6f | 6e 73 74 20 6e 73 49 50 |b;1";.co|nst nsIP|
|00002250| 4b 31 31 54 6f 6b 65 6e | 44 42 20 3d 20 43 6f 6d |K11Token|DB = Com|
|00002260| 70 6f 6e 65 6e 74 73 2e | 69 6e 74 65 72 66 61 63 |ponents.|interfac|
|00002270| 65 73 2e 6e 73 49 50 4b | 31 31 54 6f 6b 65 6e 44 |es.nsIPK|11TokenD|
|00002280| 42 3b 0a 63 6f 6e 73 74 | 20 6e 73 49 44 69 61 6c |B;.const| nsIDial|
|00002290| 6f 67 50 61 72 61 6d 42 | 6c 6f 63 6b 20 3d 20 43 |ogParamB|lock = C|
|000022a0| 6f 6d 70 6f 6e 65 6e 74 | 73 2e 69 6e 74 65 72 66 |omponent|s.interf|
|000022b0| 61 63 65 73 2e 6e 73 49 | 44 69 61 6c 6f 67 50 61 |aces.nsI|DialogPa|
|000022c0| 72 61 6d 42 6c 6f 63 6b | 3b 0a 63 6f 6e 73 74 20 |ramBlock|;.const |
|000022d0| 6e 73 50 4b 43 53 31 31 | 4d 6f 64 75 6c 65 44 42 |nsPKCS11|ModuleDB|
|000022e0| 20 3d 20 22 40 6d 6f 7a | 69 6c 6c 61 2e 6f 72 67 | = "@moz|illa.org|
|000022f0| 2f 73 65 63 75 72 69 74 | 79 2f 70 6b 63 73 31 31 |/securit|y/pkcs11|
|00002300| 6d 6f 64 75 6c 65 64 62 | 3b 31 22 3b 0a 63 6f 6e |moduledb|;1";.con|
|00002310| 73 74 20 6e 73 49 50 4b | 43 53 31 31 4d 6f 64 75 |st nsIPK|CS11Modu|
|00002320| 6c 65 44 42 20 3d 20 43 | 6f 6d 70 6f 6e 65 6e 74 |leDB = C|omponent|
|00002330| 73 2e 69 6e 74 65 72 66 | 61 63 65 73 2e 6e 73 49 |s.interf|aces.nsI|
|00002340| 50 4b 43 53 31 31 4d 6f | 64 75 6c 65 44 42 3b 0a |PKCS11Mo|duleDB;.|
|00002350| 63 6f 6e 73 74 20 6e 73 | 49 50 4b 43 53 31 31 53 |const ns|IPKCS11S|
|00002360| 6c 6f 74 20 3d 20 43 6f | 6d 70 6f 6e 65 6e 74 73 |lot = Co|mponents|
|00002370| 2e 69 6e 74 65 72 66 61 | 63 65 73 2e 6e 73 49 50 |.interfa|ces.nsIP|
|00002380| 4b 43 53 31 31 53 6c 6f | 74 3b 0a 63 6f 6e 73 74 |KCS11Slo|t;.const|
|00002390| 20 6e 73 49 50 4b 31 31 | 54 6f 6b 65 6e 20 3d 20 | nsIPK11|Token = |
|000023a0| 43 6f 6d 70 6f 6e 65 6e | 74 73 2e 69 6e 74 65 72 |Componen|ts.inter|
|000023b0| 66 61 63 65 73 2e 6e 73 | 49 50 4b 31 31 54 6f 6b |faces.ns|IPK11Tok|
|000023c0| 65 6e 3b 0a 0a 76 61 72 | 20 70 61 72 61 6d 73 3b |en;..var| params;|
|000023d0| 0a 76 61 72 20 74 6f 6b | 65 6e 4e 61 6d 65 3d 22 |.var tok|enName="|
|000023e0| 22 3b 0a 76 61 72 20 70 | 77 31 3b 0a 0a 66 75 6e |";.var p|w1;..fun|
|000023f0| 63 74 69 6f 6e 20 6f 6e | 4c 6f 61 64 28 29 0a 7b |ction on|Load().{|
|00002400| 0a 20 20 64 6f 63 75 6d | 65 6e 74 2e 64 6f 63 75 |. docum|ent.docu|
|00002410| 6d 65 6e 74 45 6c 65 6d | 65 6e 74 2e 67 65 74 42 |mentElem|ent.getB|
|00002420| 75 74 74 6f 6e 28 22 61 | 63 63 65 70 74 22 29 2e |utton("a|ccept").|
|00002430| 64 69 73 61 62 6c 65 64 | 20 3d 20 74 72 75 65 3b |disabled| = true;|
|00002440| 0a 0a 20 20 70 77 31 20 | 3d 20 64 6f 63 75 6d 65 |.. pw1 |= docume|
|00002450| 6e 74 2e 67 65 74 45 6c | 65 6d 65 6e 74 42 79 49 |nt.getEl|ementByI|
|00002460| 64 28 22 70 77 31 22 29 | 3b 0a 20 20 74 72 79 20 |d("pw1")|;. try |
|00002470| 7b 0a 20 20 20 20 20 70 | 61 72 61 6d 73 20 3d 20 |{. p|arams = |
|00002480| 77 69 6e 64 6f 77 2e 61 | 72 67 75 6d 65 6e 74 73 |window.a|rguments|
|00002490| 5b 30 5d 2e 51 75 65 72 | 79 49 6e 74 65 72 66 61 |[0].Quer|yInterfa|
|000024a0| 63 65 28 6e 73 49 44 69 | 61 6c 6f 67 50 61 72 61 |ce(nsIDi|alogPara|
|000024b0| 6d 42 6c 6f 63 6b 29 3b | 0a 20 20 20 20 20 74 6f |mBlock);|. to|
|000024c0| 6b 65 6e 4e 61 6d 65 20 | 3d 20 70 61 72 61 6d 73 |kenName |= params|
|000024d0| 2e 47 65 74 53 74 72 69 | 6e 67 28 31 29 3b 0a 20 |.GetStri|ng(1);. |
|000024e0| 20 7d 20 63 61 74 63 68 | 28 65 78 63 65 70 74 69 | } catch|(excepti|
|000024f0| 6f 6e 29 20 7b 0a 20 20 | 20 20 20 20 2f 2f 20 74 |on) {. | // t|
|00002500| 68 69 73 20 73 68 6f 75 | 6c 64 20 6e 6f 74 20 68 |his shou|ld not h|
|00002510| 61 70 70 65 6e 2e 0a 20 | 20 20 20 20 20 2f 2f 20 |appen.. | // |
|00002520| 70 72 65 76 69 6f 75 73 | 6c 79 20 77 65 20 68 61 |previous|ly we ha|
|00002530| 64 20 73 65 6c 66 2e 6e | 61 6d 65 2c 20 62 75 74 |d self.n|ame, but|
|00002540| 20 73 65 6c 66 2e 6e 61 | 6d 65 20 77 61 73 20 61 | self.na|me was a|
|00002550| 20 62 61 64 20 69 64 65 | 61 0a 20 20 20 20 20 20 | bad ide|a. |
|00002560| 2f 2f 20 61 73 20 77 69 | 6e 64 6f 77 20 6e 61 6d |// as wi|ndow nam|
|00002570| 65 20 6d 75 73 74 20 62 | 65 20 61 20 73 75 62 73 |e must b|e a subs|
|00002580| 65 74 20 6f 66 20 61 73 | 63 69 69 2c 20 61 6e 64 |et of as|cii, and|
|00002590| 20 74 68 65 20 63 6f 64 | 65 20 77 61 73 0a 20 20 | the cod|e was. |
|000025a0| 20 20 20 20 2f 2f 20 70 | 72 65 76 69 6f 75 73 6c | // p|reviousl|
|000025b0| 79 20 74 72 79 69 6e 67 | 20 74 6f 20 61 73 73 69 |y trying| to assi|
|000025c0| 67 6e 20 75 6e 69 63 6f | 64 65 20 74 6f 20 74 68 |gn unico|de to th|
|000025d0| 65 20 77 69 6e 64 6f 77 | 27 73 20 6e 61 6d 65 2e |e window|'s name.|
|000025e0| 0a 20 20 20 20 20 20 2f | 2f 20 49 20 63 68 65 63 |. /|/ I chec|
|000025f0| 6b 65 64 20 61 6c 6c 20 | 74 68 65 20 70 6c 61 63 |ked all |the plac|
|00002600| 65 73 20 77 68 65 72 65 | 20 77 65 20 67 65 74 20 |es where| we get |
|00002610| 61 20 70 61 73 73 77 6f | 72 64 20 70 72 6f 6d 70 |a passwo|rd promp|
|00002620| 74 20 61 6e 64 0a 20 20 | 20 20 20 20 2f 2f 20 61 |t and. | // a|
|00002630| 6c 6c 20 6f 66 20 74 68 | 65 6d 20 70 61 73 73 20 |ll of th|em pass |
|00002640| 61 6e 20 61 72 67 75 6d | 65 6e 74 20 61 73 20 70 |an argum|ent as p|
|00002650| 61 72 74 20 6f 66 20 74 | 68 69 73 20 70 61 74 63 |art of t|his patc|
|00002660| 68 2e 0a 20 20 20 20 20 | 20 74 6f 6b 65 6e 4e 61 |h.. | tokenNa|
|00002670| 6d 65 3d 22 22 3b 0a 20 | 20 7d 0a 20 20 20 20 20 |me="";. | }. |
|00002680| 20 0a 0a 20 20 69 66 28 | 74 6f 6b 65 6e 4e 61 6d | .. if(|tokenNam|
|00002690| 65 3d 3d 22 22 29 20 7b | 0a 20 20 20 20 20 76 61 |e=="") {|. va|
|000026a0| 72 20 73 65 63 74 6f 6b | 64 62 20 3d 20 43 6f 6d |r sectok|db = Com|
|000026b0| 70 6f 6e 65 6e 74 73 2e | 63 6c 61 73 73 65 73 5b |ponents.|classes[|
|000026c0| 6e 73 50 4b 31 31 54 6f | 6b 65 6e 44 42 5d 2e 67 |nsPK11To|kenDB].g|
|000026d0| 65 74 53 65 72 76 69 63 | 65 28 6e 73 49 50 4b 31 |etServic|e(nsIPK1|
|000026e0| 31 54 6f 6b 65 6e 44 42 | 29 3b 0a 20 20 20 20 20 |1TokenDB|);. |
|000026f0| 76 61 72 20 74 6f 6b 65 | 6e 4c 69 73 74 20 3d 20 |var toke|nList = |
|00002700| 73 65 63 74 6f 6b 64 62 | 2e 6c 69 73 74 54 6f 6b |sectokdb|.listTok|
|00002710| 65 6e 73 28 29 3b 0a 20 | 20 20 20 20 76 61 72 20 |ens();. | var |
|00002720| 65 6e 75 6d 45 6c 65 6d | 65 6e 74 3b 0a 20 20 20 |enumElem|ent;. |
|00002730| 20 20 76 61 72 20 69 3d | 30 3b 0a 20 20 20 20 20 | var i=|0;. |
|00002740| 76 61 72 20 6d 65 6e 75 | 20 3d 20 64 6f 63 75 6d |var menu| = docum|
|00002750| 65 6e 74 2e 67 65 74 45 | 6c 65 6d 65 6e 74 42 79 |ent.getE|lementBy|
|00002760| 49 64 28 22 74 6f 6b 65 | 6e 4d 65 6e 75 22 29 3b |Id("toke|nMenu");|
|00002770| 0a 20 20 20 20 20 74 72 | 79 20 7b 0a 20 20 20 20 |. tr|y {. |
|00002780| 20 20 20 20 66 6f 72 20 | 28 20 3b 20 21 74 6f 6b | for |( ; !tok|
|00002790| 65 6e 4c 69 73 74 2e 69 | 73 44 6f 6e 65 28 29 3b |enList.i|sDone();|
|000027a0| 20 74 6f 6b 65 6e 4c 69 | 73 74 2e 6e 65 78 74 28 | tokenLi|st.next(|
|000027b0| 29 29 20 7b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |)) {. | |
|000027c0| 65 6e 75 6d 45 6c 65 6d | 65 6e 74 20 3d 20 74 6f |enumElem|ent = to|
|000027d0| 6b 65 6e 4c 69 73 74 2e | 63 75 72 72 65 6e 74 49 |kenList.|currentI|
|000027e0| 74 65 6d 28 29 3b 0a 20 | 20 20 20 20 20 20 20 20 |tem();. | |
|000027f0| 20 20 76 61 72 20 74 6f | 6b 65 6e 20 3d 20 65 6e | var to|ken = en|
|00002800| 75 6d 45 6c 65 6d 65 6e | 74 2e 51 75 65 72 79 49 |umElemen|t.QueryI|
|00002810| 6e 74 65 72 66 61 63 65 | 28 6e 73 49 50 4b 31 31 |nterface|(nsIPK11|
|00002820| 54 6f 6b 65 6e 29 3b 0a | 20 20 20 20 20 20 20 20 |Token);.| |
|00002830| 20 20 20 69 66 28 74 6f | 6b 65 6e 2e 6e 65 65 64 | if(to|ken.need|
|00002840| 73 4c 6f 67 69 6e 28 29 | 20 7c 7c 20 21 28 74 6f |sLogin()| || !(to|
|00002850| 6b 65 6e 2e 6e 65 65 64 | 73 55 73 65 72 49 6e 69 |ken.need|sUserIni|
|00002860| 74 29 29 20 7b 0a 20 20 | 20 20 20 20 20 20 20 20 |t)) {. | |
|00002870| 20 20 20 20 76 61 72 20 | 6d 65 6e 75 49 74 65 6d | var |menuItem|
|00002880| 4e 6f 64 65 20 3d 20 64 | 6f 63 75 6d 65 6e 74 2e |Node = d|ocument.|
|00002890| 63 72 65 61 74 65 45 6c | 65 6d 65 6e 74 28 22 6d |createEl|ement("m|
|000028a0| 65 6e 75 69 74 65 6d 22 | 29 3b 0a 20 20 20 20 20 |enuitem"|);. |
|000028b0| 20 20 20 20 20 20 20 20 | 20 6d 65 6e 75 49 74 65 | | menuIte|
|000028c0| 6d 4e 6f 64 65 2e 73 65 | 74 41 74 74 72 69 62 75 |mNode.se|tAttribu|
|000028d0| 74 65 28 22 76 61 6c 75 | 65 22 2c 20 74 6f 6b 65 |te("valu|e", toke|
|000028e0| 6e 2e 74 6f 6b 65 6e 4e | 61 6d 65 29 3b 0a 20 20 |n.tokenN|ame);. |
|000028f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 6d 65 6e 75 | | menu|
|00002900| 49 74 65 6d 4e 6f 64 65 | 2e 73 65 74 41 74 74 72 |ItemNode|.setAttr|
|00002910| 69 62 75 74 65 28 22 6c | 61 62 65 6c 22 2c 20 74 |ibute("l|abel", t|
|00002920| 6f 6b 65 6e 2e 74 6f 6b | 65 6e 4e 61 6d 65 29 3b |oken.tok|enName);|
|00002930| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6d |. | m|
|00002940| 65 6e 75 2e 66 69 72 73 | 74 43 68 69 6c 64 2e 61 |enu.firs|tChild.a|
|00002950| 70 70 65 6e 64 43 68 69 | 6c 64 28 6d 65 6e 75 49 |ppendChi|ld(menuI|
|00002960| 74 65 6d 4e 6f 64 65 29 | 3b 0a 20 20 20 20 20 20 |temNode)|;. |
|00002970| 20 20 20 20 20 20 20 20 | 69 66 20 28 69 20 3d 3d | |if (i ==|
|00002980| 20 30 29 20 7b 0a 20 20 | 20 20 20 20 20 20 20 20 | 0) {. | |
|00002990| 20 20 20 20 20 20 20 6d | 65 6e 75 2e 73 65 6c 65 | m|enu.sele|
|000029a0| 63 74 65 64 49 74 65 6d | 20 3d 20 6d 65 6e 75 49 |ctedItem| = menuI|
|000029b0| 74 65 6d 4e 6f 64 65 3b | 0a 20 20 20 20 20 20 20 |temNode;|. |
|000029c0| 20 20 20 20 20 20 20 20 | 20 20 74 6f 6b 65 6e 4e | | tokenN|
|000029d0| 61 6d 65 20 3d 20 74 6f | 6b 65 6e 2e 74 6f 6b 65 |ame = to|ken.toke|
|000029e0| 6e 4e 61 6d 65 3b 0a 20 | 20 20 20 20 20 20 20 20 |nName;. | |
|000029f0| 20 20 20 20 20 7d 0a 20 | 20 20 20 20 20 20 20 20 | }. | |
|00002a00| 20 20 20 20 20 69 2b 2b | 3b 0a 20 20 20 20 20 20 | i++|;. |
|00002a10| 20 20 20 20 20 7d 0a 20 | 20 20 20 20 20 20 20 7d | }. | }|
|00002a20| 0a 20 20 20 20 20 7d 63 | 61 74 63 68 28 65 78 63 |. }c|atch(exc|
|00002a30| 65 70 74 69 6f 6e 29 7b | 7d 0a 20 20 7d 20 65 6c |eption){|}. } el|
|00002a40| 73 65 20 7b 0a 20 20 20 | 20 76 61 72 20 73 65 6c |se {. | var sel|
|00002a50| 20 3d 20 64 6f 63 75 6d | 65 6e 74 2e 67 65 74 45 | = docum|ent.getE|
|00002a60| 6c 65 6d 65 6e 74 42 79 | 49 64 28 22 74 6f 6b 65 |lementBy|Id("toke|
|00002a70| 6e 4d 65 6e 75 22 29 3b | 0a 20 20 20 20 73 65 6c |nMenu");|. sel|
|00002a80| 2e 73 65 74 41 74 74 72 | 69 62 75 74 65 28 22 68 |.setAttr|ibute("h|
|00002a90| 69 64 64 65 6e 22 2c 20 | 22 74 72 75 65 22 29 3b |idden", |"true");|
|00002aa0| 0a 20 20 20 20 76 61 72 | 20 74 61 67 20 3d 20 64 |. var| tag = d|
|00002ab0| 6f 63 75 6d 65 6e 74 2e | 67 65 74 45 6c 65 6d 65 |ocument.|getEleme|
|00002ac0| 6e 74 42 79 49 64 28 22 | 74 6f 6b 65 6e 4e 61 6d |ntById("|tokenNam|
|00002ad0| 65 22 29 3b 0a 20 20 20 | 20 74 61 67 2e 73 65 74 |e");. | tag.set|
|00002ae0| 41 74 74 72 69 62 75 74 | 65 28 22 76 61 6c 75 65 |Attribut|e("value|
|00002af0| 22 2c 74 6f 6b 65 6e 4e | 61 6d 65 29 3b 0a 20 20 |",tokenN|ame);. |
|00002b00| 7d 0a 09 20 09 20 0a 20 | 20 70 72 6f 63 65 73 73 |}.. . . | process|
|00002b10| 28 29 3b 0a 7d 0a 0a 66 | 75 6e 63 74 69 6f 6e 20 |();.}..f|unction |
|00002b20| 6f 6e 4d 65 6e 75 43 68 | 61 6e 67 65 28 29 0a 7b |onMenuCh|ange().{|
|00002b30| 0a 20 20 20 2f 2f 67 65 | 74 20 74 68 65 20 73 65 |. //ge|t the se|
|00002b40| 6c 65 63 74 65 64 20 74 | 6f 6b 65 6e 0a 20 20 20 |lected t|oken. |
|00002b50| 76 61 72 20 6c 69 73 74 | 20 3d 20 64 6f 63 75 6d |var list| = docum|
|00002b60| 65 6e 74 2e 67 65 74 45 | 6c 65 6d 65 6e 74 42 79 |ent.getE|lementBy|
|00002b70| 49 64 28 22 74 6f 6b 65 | 6e 4d 65 6e 75 22 29 3b |Id("toke|nMenu");|
|00002b80| 0a 20 20 20 74 6f 6b 65 | 6e 4e 61 6d 65 20 3d 20 |. toke|nName = |
|00002b90| 6c 69 73 74 2e 76 61 6c | 75 65 3b 0a 0a 20 20 20 |list.val|ue;.. |
|00002ba0| 70 72 6f 63 65 73 73 28 | 29 3b 0a 7d 0a 0a 0a 66 |process(|);.}...f|
|00002bb0| 75 6e 63 74 69 6f 6e 20 | 70 72 6f 63 65 73 73 28 |unction |process(|
|00002bc0| 29 0a 7b 0a 20 20 20 76 | 61 72 20 73 65 63 6d 6f |).{. v|ar secmo|
|00002bd0| 64 64 62 20 3d 20 43 6f | 6d 70 6f 6e 65 6e 74 73 |ddb = Co|mponents|
|00002be0| 2e 63 6c 61 73 73 65 73 | 5b 6e 73 50 4b 43 53 31 |.classes|[nsPKCS1|
|00002bf0| 31 4d 6f 64 75 6c 65 44 | 42 5d 2e 67 65 74 53 65 |1ModuleD|B].getSe|
|00002c00| 72 76 69 63 65 28 6e 73 | 49 50 4b 43 53 31 31 4d |rvice(ns|IPKCS11M|
|00002c10| 6f 64 75 6c 65 44 42 29 | 3b 0a 20 20 20 76 61 72 |oduleDB)|;. var|
|00002c20| 20 62 75 6e 64 6c 65 20 | 3d 20 73 72 47 65 74 53 | bundle |= srGetS|
|00002c30| 74 72 42 75 6e 64 6c 65 | 28 22 63 68 72 6f 6d 65 |trBundle|("chrome|
|00002c40| 3a 2f 2f 70 69 70 70 6b | 69 2f 6c 6f 63 61 6c 65 |://pippk|i/locale|
|00002c50| 2f 70 69 70 70 6b 69 2e | 70 72 6f 70 65 72 74 69 |/pippki.|properti|
|00002c60| 65 73 22 29 3b 0a 0a 20 | 20 20 2f 2f 20 49 66 20 |es");.. | // If |
|00002c70| 74 68 65 20 74 6f 6b 65 | 6e 20 69 73 20 75 6e 69 |the toke|n is uni|
|00002c80| 74 69 61 6c 69 7a 65 64 | 2c 20 64 6f 6e 27 74 20 |tialized|, don't |
|00002c90| 75 73 65 20 74 68 65 20 | 6f 6c 64 20 70 61 73 73 |use the |old pass|
|00002ca0| 77 6f 72 64 20 62 6f 78 | 2e 0a 20 20 20 2f 2f 20 |word box|.. // |
|00002cb0| 4f 74 68 65 72 77 69 73 | 65 2c 20 64 6f 2e 0a 0a |Otherwis|e, do...|
|00002cc0| 20 20 20 76 61 72 20 73 | 6c 6f 74 20 3d 20 73 65 | var s|lot = se|
|00002cd0| 63 6d 6f 64 64 62 2e 66 | 69 6e 64 53 6c 6f 74 42 |cmoddb.f|indSlotB|
|00002ce0| 79 4e 61 6d 65 28 74 6f | 6b 65 6e 4e 61 6d 65 29 |yName(to|kenName)|
|00002cf0| 3b 0a 20 20 20 69 66 20 | 28 73 6c 6f 74 29 20 7b |;. if |(slot) {|
|00002d00| 0a 20 20 20 20 20 76 61 | 72 20 6f 6c 64 70 77 62 |. va|r oldpwb|
|00002d10| 6f 78 20 3d 20 64 6f 63 | 75 6d 65 6e 74 2e 67 65 |ox = doc|ument.ge|
|00002d20| 74 45 6c 65 6d 65 6e 74 | 42 79 49 64 28 22 6f 6c |tElement|ById("ol|
|00002d30| 64 70 77 22 29 3b 0a 20 | 20 20 20 20 76 61 72 20 |dpw");. | var |
|00002d40| 6d 73 67 42 6f 78 20 3d | 20 64 6f 63 75 6d 65 6e |msgBox =| documen|
|00002d50| 74 2e 67 65 74 45 6c 65 | 6d 65 6e 74 42 79 49 64 |t.getEle|mentById|
|00002d60| 28 22 6d 65 73 73 61 67 | 65 22 29 3b 0a 20 20 20 |("messag|e");. |
|00002d70| 20 20 76 61 72 20 73 74 | 61 74 75 73 20 3d 20 73 | var st|atus = s|
|00002d80| 6c 6f 74 2e 73 74 61 74 | 75 73 3b 0a 20 20 20 20 |lot.stat|us;. |
|00002d90| 20 69 66 20 28 73 74 61 | 74 75 73 20 3d 3d 20 6e | if (sta|tus == n|
|00002da0| 73 49 50 4b 43 53 31 31 | 53 6c 6f 74 2e 53 4c 4f |sIPKCS11|Slot.SLO|
|00002db0| 54 5f 55 4e 49 4e 49 54 | 49 41 4c 49 5a 45 44 0a |T_UNINIT|IALIZED.|
|00002dc0| 20 20 20 20 20 20 20 20 | 20 7c 7c 20 73 74 61 74 | | || stat|
|00002dd0| 75 73 20 3d 3d 20 6e 73 | 49 50 4b 43 53 31 31 53 |us == ns|IPKCS11S|
|00002de0| 6c 6f 74 2e 53 4c 4f 54 | 5f 52 45 41 44 59 29 20 |lot.SLOT|_READY) |
|00002df0| 7b 0a 20 20 20 20 20 20 | 0a 20 20 20 20 20 20 20 |{. |. |
|00002e00| 6f 6c 64 70 77 62 6f 78 | 2e 73 65 74 41 74 74 72 |oldpwbox|.setAttr|
|00002e10| 69 62 75 74 65 28 22 68 | 69 64 64 65 6e 22 2c 20 |ibute("h|idden", |
|00002e20| 22 74 72 75 65 22 29 3b | 0a 20 20 20 20 20 20 20 |"true");|. |
|00002e30| 6d 73 67 42 6f 78 2e 73 | 65 74 41 74 74 72 69 62 |msgBox.s|etAttrib|
|00002e40| 75 74 65 28 22 76 61 6c | 75 65 22 2c 20 62 75 6e |ute("val|ue", bun|
|00002e50| 64 6c 65 2e 47 65 74 53 | 74 72 69 6e 67 46 72 6f |dle.GetS|tringFro|
|00002e60| 6d 4e 61 6d 65 28 22 70 | 61 73 73 77 6f 72 64 5f |mName("p|assword_|
|00002e70| 6e 6f 74 5f 73 65 74 22 | 29 29 3b 20 0a 20 20 20 |not_set"|)); . |
|00002e80| 20 20 20 20 6d 73 67 42 | 6f 78 2e 73 65 74 41 74 | msgB|ox.setAt|
|00002e90| 74 72 69 62 75 74 65 28 | 22 68 69 64 64 65 6e 22 |tribute(|"hidden"|
|00002ea0| 2c 20 22 66 61 6c 73 65 | 22 29 3b 0a 0a 20 20 20 |, "false|");.. |
|00002eb0| 20 20 20 20 69 66 20 28 | 73 74 61 74 75 73 20 3d | if (|status =|
|00002ec0| 3d 20 6e 73 49 50 4b 43 | 53 31 31 53 6c 6f 74 2e |= nsIPKC|S11Slot.|
|00002ed0| 53 4c 4f 54 5f 52 45 41 | 44 59 29 20 7b 0a 20 20 |SLOT_REA|DY) {. |
|00002ee0| 20 20 20 20 20 20 20 6f | 6c 64 70 77 62 6f 78 2e | o|ldpwbox.|
|00002ef0| 73 65 74 41 74 74 72 69 | 62 75 74 65 28 22 69 6e |setAttri|bute("in|
|00002f00| 69 74 65 64 22 2c 20 22 | 65 6d 70 74 79 22 29 3b |ited", "|empty");|
|00002f10| 0a 20 20 20 20 20 20 20 | 7d 20 65 6c 73 65 20 7b |. |} else {|
|00002f20| 0a 20 20 20 20 20 20 20 | 20 20 6f 6c 64 70 77 62 |. | oldpwb|
|00002f30| 6f 78 2e 73 65 74 41 74 | 74 72 69 62 75 74 65 28 |ox.setAt|tribute(|
|00002f40| 22 69 6e 69 74 65 64 22 | 2c 20 22 74 72 75 65 22 |"inited"|, "true"|
|00002f50| 29 3b 0a 20 20 20 20 20 | 20 20 7d 0a 20 20 20 20 |);. | }. |
|00002f60| 20 20 0a 20 20 20 20 20 | 20 20 2f 2f 20 53 65 6c | . | // Sel|
|00002f70| 65 63 74 20 66 69 72 73 | 74 20 70 61 73 73 77 6f |ect firs|t passwo|
|00002f80| 72 64 20 66 69 65 6c 64 | 0a 20 20 20 20 20 20 20 |rd field|. |
|00002f90| 64 6f 63 75 6d 65 6e 74 | 2e 67 65 74 45 6c 65 6d |document|.getElem|
|00002fa0| 65 6e 74 42 79 49 64 28 | 27 70 77 31 27 29 2e 66 |entById(|'pw1').f|
|00002fb0| 6f 63 75 73 28 29 3b 0a | 20 20 20 20 0a 20 20 20 |ocus();.| . |
|00002fc0| 20 20 7d 20 65 6c 73 65 | 20 7b 0a 20 20 20 20 20 | } else| {. |
|00002fd0| 20 20 2f 2f 20 53 65 6c | 65 63 74 20 6f 6c 64 20 | // Sel|ect old |
|00002fe0| 70 61 73 73 77 6f 72 64 | 20 66 69 65 6c 64 0a 20 |password| field. |
|00002ff0| 20 20 20 20 20 20 6f 6c | 64 70 77 62 6f 78 2e 73 | ol|dpwbox.s|
|00003000| 65 74 41 74 74 72 69 62 | 75 74 65 28 22 68 69 64 |etAttrib|ute("hid|
|00003010| 64 65 6e 22 2c 20 22 66 | 61 6c 73 65 22 29 3b 0a |den", "f|alse");.|
|00003020| 20 20 20 20 20 20 20 6d | 73 67 42 6f 78 2e 73 65 | m|sgBox.se|
|00003030| 74 41 74 74 72 69 62 75 | 74 65 28 22 68 69 64 64 |tAttribu|te("hidd|
|00003040| 65 6e 22 2c 20 22 74 72 | 75 65 22 29 3b 0a 20 20 |en", "tr|ue");. |
|00003050| 20 20 20 20 20 6f 6c 64 | 70 77 62 6f 78 2e 73 65 | old|pwbox.se|
|00003060| 74 41 74 74 72 69 62 75 | 74 65 28 22 69 6e 69 74 |tAttribu|te("init|
|00003070| 65 64 22 2c 20 22 66 61 | 6c 73 65 22 29 3b 0a 20 |ed", "fa|lse");. |
|00003080| 20 20 20 20 20 20 6f 6c | 64 70 77 62 6f 78 2e 66 | ol|dpwbox.f|
|00003090| 6f 63 75 73 28 29 3b 0a | 20 20 20 20 20 7d 0a 20 |ocus();.| }. |
|000030a0| 20 20 7d 0a 0a 20 20 69 | 66 20 28 70 61 72 61 6d | }.. i|f (param|
|000030b0| 73 29 20 7b 0a 20 20 20 | 20 2f 2f 20 52 65 74 75 |s) {. | // Retu|
|000030c0| 72 6e 20 76 61 6c 75 65 | 20 30 20 6d 65 61 6e 73 |rn value| 0 means|
|000030d0| 20 22 63 61 6e 63 65 6c | 65 64 22 0a 20 20 20 20 | "cancel|ed". |
|000030e0| 70 61 72 61 6d 73 2e 53 | 65 74 49 6e 74 28 31 2c |params.S|etInt(1,|
|000030f0| 20 30 29 3b 0a 20 20 7d | 0a 20 20 0a 20 20 63 68 | 0);. }|. . ch|
|00003100| 65 63 6b 50 61 73 73 77 | 6f 72 64 73 28 29 3b 0a |eckPassw|ords();.|
|00003110| 7d 0a 0a 66 75 6e 63 74 | 69 6f 6e 20 6f 6e 50 31 |}..funct|ion onP1|
|00003120| 32 4c 6f 61 64 28 64 69 | 73 61 62 6c 65 4f 6b 42 |2Load(di|sableOkB|
|00003130| 75 74 74 6f 6e 29 0a 7b | 0a 20 20 64 6f 63 75 6d |utton).{|. docum|
|00003140| 65 6e 74 2e 64 6f 63 75 | 6d 65 6e 74 45 6c 65 6d |ent.docu|mentElem|
|00003150| 65 6e 74 2e 67 65 74 42 | 75 74 74 6f 6e 28 22 61 |ent.getB|utton("a|
|00003160| 63 63 65 70 74 22 29 2e | 64 69 73 61 62 6c 65 64 |ccept").|disabled|
|00003170| 20 3d 20 64 69 73 61 62 | 6c 65 4f 6b 42 75 74 74 | = disab|leOkButt|
|00003180| 6f 6e 3b 0a 20 20 70 77 | 31 20 3d 20 64 6f 63 75 |on;. pw|1 = docu|
|00003190| 6d 65 6e 74 2e 67 65 74 | 45 6c 65 6d 65 6e 74 42 |ment.get|ElementB|
|000031a0| 79 49 64 28 22 70 77 31 | 22 29 3b 0a 20 20 70 61 |yId("pw1|");. pa|
|000031b0| 72 61 6d 73 20 3d 20 77 | 69 6e 64 6f 77 2e 61 72 |rams = w|indow.ar|
|000031c0| 67 75 6d 65 6e 74 73 5b | 30 5d 2e 51 75 65 72 79 |guments[|0].Query|
|000031d0| 49 6e 74 65 72 66 61 63 | 65 28 6e 73 49 44 69 61 |Interfac|e(nsIDia|
|000031e0| 6c 6f 67 50 61 72 61 6d | 42 6c 6f 63 6b 29 3b 0a |logParam|Block);.|
|000031f0| 20 20 2f 2f 20 53 65 6c | 65 63 74 20 66 69 72 73 | // Sel|ect firs|
|00003200| 74 20 70 61 73 73 77 6f | 72 64 20 66 69 65 6c 64 |t passwo|rd field|
|00003210| 0a 20 20 64 6f 63 75 6d | 65 6e 74 2e 67 65 74 45 |. docum|ent.getE|
|00003220| 6c 65 6d 65 6e 74 42 79 | 49 64 28 27 70 77 31 27 |lementBy|Id('pw1'|
|00003230| 29 2e 66 6f 63 75 73 28 | 29 3b 0a 7d 0a 0a 66 75 |).focus(|);.}..fu|
|00003240| 6e 63 74 69 6f 6e 20 73 | 65 74 50 61 73 73 77 6f |nction s|etPasswo|
|00003250| 72 64 28 29 0a 7b 0a 20 | 20 76 61 72 20 70 6b 31 |rd().{. | var pk1|
|00003260| 31 64 62 20 3d 20 43 6f | 6d 70 6f 6e 65 6e 74 73 |1db = Co|mponents|
|00003270| 2e 63 6c 61 73 73 65 73 | 5b 6e 73 50 4b 31 31 54 |.classes|[nsPK11T|
|00003280| 6f 6b 65 6e 44 42 5d 2e | 67 65 74 53 65 72 76 69 |okenDB].|getServi|
|00003290| 63 65 28 6e 73 49 50 4b | 31 31 54 6f 6b 65 6e 44 |ce(nsIPK|11TokenD|
|000032a0| 42 29 3b 0a 20 20 76 61 | 72 20 74 6f 6b 65 6e 20 |B);. va|r token |
|000032b0| 3d 20 70 6b 31 31 64 62 | 2e 66 69 6e 64 54 6f 6b |= pk11db|.findTok|
|000032c0| 65 6e 42 79 4e 61 6d 65 | 28 74 6f 6b 65 6e 4e 61 |enByName|(tokenNa|
|000032d0| 6d 65 29 3b 0a 0a 20 20 | 76 61 72 20 6f 6c 64 70 |me);.. |var oldp|
|000032e0| 77 62 6f 78 20 3d 20 64 | 6f 63 75 6d 65 6e 74 2e |wbox = d|ocument.|
|000032f0| 67 65 74 45 6c 65 6d 65 | 6e 74 42 79 49 64 28 22 |getEleme|ntById("|
|00003300| 6f 6c 64 70 77 22 29 3b | 0a 20 20 76 61 72 20 69 |oldpw");|. var i|
|00003310| 6e 69 74 70 77 20 3d 20 | 6f 6c 64 70 77 62 6f 78 |nitpw = |oldpwbox|
|00003320| 2e 67 65 74 41 74 74 72 | 69 62 75 74 65 28 22 69 |.getAttr|ibute("i|
|00003330| 6e 69 74 65 64 22 29 3b | 0a 20 20 76 61 72 20 62 |nited");|. var b|
|00003340| 75 6e 64 6c 65 20 3d 20 | 73 72 47 65 74 53 74 72 |undle = |srGetStr|
|00003350| 42 75 6e 64 6c 65 28 22 | 63 68 72 6f 6d 65 3a 2f |Bundle("|chrome:/|
|00003360| 2f 70 69 70 70 6b 69 2f | 6c 6f 63 61 6c 65 2f 70 |/pippki/|locale/p|
|00003370| 69 70 70 6b 69 2e 70 72 | 6f 70 65 72 74 69 65 73 |ippki.pr|operties|
|00003380| 22 29 3b 0a 20 20 0a 20 | 20 76 61 72 20 73 75 63 |");. . | var suc|
|00003390| 63 65 73 73 20 3d 20 66 | 61 6c 73 65 3b 0a 20 20 |cess = f|alse;. |
|000033a0| 0a 20 20 69 66 20 28 69 | 6e 69 74 70 77 20 3d 3d |. if (i|nitpw ==|
|000033b0| 20 22 66 61 6c 73 65 22 | 20 7c 7c 20 69 6e 69 74 | "false"| || init|
|000033c0| 70 77 20 3d 3d 20 22 65 | 6d 70 74 79 22 29 20 7b |pw == "e|mpty") {|
|000033d0| 0a 20 20 20 20 74 72 79 | 20 7b 0a 20 20 20 20 20 |. try| {. |
|000033e0| 20 76 61 72 20 6f 6c 64 | 70 77 20 3d 20 22 22 3b | var old|pw = "";|
|000033f0| 0a 20 20 20 20 20 20 76 | 61 72 20 70 61 73 73 6f |. v|ar passo|
|00003400| 6b 20 3d 20 30 3b 0a 20 | 20 20 20 20 20 0a 20 20 |k = 0;. | . |
|00003410| 20 20 20 20 69 66 20 28 | 69 6e 69 74 70 77 20 3d | if (|initpw =|
|00003420| 3d 20 22 65 6d 70 74 79 | 22 29 20 7b 0a 20 20 20 |= "empty|") {. |
|00003430| 20 20 20 20 20 70 61 73 | 73 6f 6b 20 3d 20 31 3b | pas|sok = 1;|
|00003440| 0a 20 20 20 20 20 20 7d | 20 65 6c 73 65 20 7b 0a |. }| else {.|
|00003450| 20 20 20 20 20 20 20 20 | 6f 6c 64 70 77 20 3d 20 | |oldpw = |
|00003460| 6f 6c 64 70 77 62 6f 78 | 2e 76 61 6c 75 65 3b 0a |oldpwbox|.value;.|
|00003470| 20 20 20 20 20 20 20 20 | 70 61 73 73 6f 6b 20 3d | |passok =|
|00003480| 20 74 6f 6b 65 6e 2e 63 | 68 65 63 6b 50 61 73 73 | token.c|heckPass|
|00003490| 77 6f 72 64 28 6f 6c 64 | 70 77 29 3b 0a 20 20 20 |word(old|pw);. |
|000034a0| 20 20 20 7d 0a 20 20 20 | 20 20 20 0a 20 20 20 20 | }. | . |
|000034b0| 20 20 69 66 20 28 70 61 | 73 73 6f 6b 29 20 7b 0a | if (pa|ssok) {.|
|000034c0| 20 20 20 20 20 20 20 20 | 69 66 20 28 69 6e 69 74 | |if (init|
|000034d0| 70 77 20 3d 3d 20 22 65 | 6d 70 74 79 22 20 26 26 |pw == "e|mpty" &&|
|000034e0| 20 70 77 31 2e 76 61 6c | 75 65 20 3d 3d 20 22 22 | pw1.val|ue == ""|
|000034f0| 29 20 7b 0a 20 20 20 20 | 20 20 20 20 20 20 2f 2f |) {. | //|
|00003500| 20 54 68 69 73 20 6d 61 | 6b 65 73 20 6e 6f 20 73 | This ma|kes no s|
|00003510| 65 6e 73 65 20 74 68 61 | 74 20 77 65 20 61 72 72 |ense tha|t we arr|
|00003520| 69 76 65 20 68 65 72 65 | 2c 20 0a 20 20 20 20 20 |ive here|, . |
|00003530| 20 20 20 20 20 2f 2f 20 | 77 65 20 72 65 61 63 68 | // |we reach|
|00003540| 65 64 20 61 20 63 61 73 | 65 20 74 68 61 74 20 73 |ed a cas|e that s|
|00003550| 68 6f 75 6c 64 20 68 61 | 76 65 20 62 65 65 6e 20 |hould ha|ve been |
|00003560| 70 72 65 76 65 6e 74 65 | 64 20 62 79 20 63 68 65 |prevente|d by che|
|00003570| 63 6b 50 61 73 73 77 6f | 72 64 73 2e 0a 20 20 20 |ckPasswo|rds.. |
|00003580| 20 20 20 20 20 7d 20 65 | 6c 73 65 20 7b 0a 20 20 | } e|lse {. |
|00003590| 20 20 20 20 20 20 20 20 | 69 66 20 28 70 77 31 2e | |if (pw1.|
|000035a0| 76 61 6c 75 65 20 3d 3d | 20 22 22 29 20 7b 0a 20 |value ==| "") {. |
|000035b0| 20 20 20 20 20 20 20 20 | 20 20 20 76 61 72 20 73 | | var s|
|000035c0| 65 63 6d 6f 64 64 62 20 | 3d 20 43 6f 6d 70 6f 6e |ecmoddb |= Compon|
|000035d0| 65 6e 74 73 2e 63 6c 61 | 73 73 65 73 5b 6e 73 50 |ents.cla|sses[nsP|
|000035e0| 4b 43 53 31 31 4d 6f 64 | 75 6c 65 44 42 5d 2e 67 |KCS11Mod|uleDB].g|
|000035f0| 65 74 53 65 72 76 69 63 | 65 28 6e 73 49 50 4b 43 |etServic|e(nsIPKC|
|00003600| 53 31 31 4d 6f 64 75 6c | 65 44 42 29 3b 0a 20 20 |S11Modul|eDB);. |
|00003610| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 28 73 65 | | if (se|
|00003620| 63 6d 6f 64 64 62 2e 69 | 73 46 49 50 53 45 6e 61 |cmoddb.i|sFIPSEna|
|00003630| 62 6c 65 64 29 20 7b 0a | 20 20 20 20 20 20 20 20 |bled) {.| |
|00003640| 20 20 20 20 20 20 2f 2f | 20 65 6d 70 74 79 20 70 | //| empty p|
|00003650| 61 73 73 77 6f 72 64 73 | 20 61 72 65 20 6e 6f 74 |asswords| are not|
|00003660| 20 61 6c 6c 6f 77 65 64 | 20 69 6e 20 46 49 50 53 | allowed| in FIPS|
|00003670| 20 6d 6f 64 65 0a 20 20 | 20 20 20 20 20 20 20 20 | mode. | |
|00003680| 20 20 20 20 61 6c 65 72 | 74 28 62 75 6e 64 6c 65 | aler|t(bundle|
|00003690| 2e 47 65 74 53 74 72 69 | 6e 67 46 72 6f 6d 4e 61 |.GetStri|ngFromNa|
|000036a0| 6d 65 28 22 70 77 5f 63 | 68 61 6e 67 65 32 65 6d |me("pw_c|hange2em|
|000036b0| 70 74 79 5f 69 6e 5f 66 | 69 70 73 5f 6d 6f 64 65 |pty_in_f|ips_mode|
|000036c0| 22 29 29 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |"));. | |
|000036d0| 20 20 20 70 61 73 73 6f | 6b 20 3d 20 30 3b 0a 20 | passo|k = 0;. |
|000036e0| 20 20 20 20 20 20 20 20 | 20 20 20 7d 0a 20 20 20 | | }. |
|000036f0| 20 20 20 20 20 20 20 7d | 0a 20 20 20 20 20 20 20 | }|. |
|00003700| 20 20 20 69 66 20 28 70 | 61 73 73 6f 6b 29 20 7b | if (p|assok) {|
|00003710| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 74 6f 6b |. | tok|
|00003720| 65 6e 2e 63 68 61 6e 67 | 65 50 61 73 73 77 6f 72 |en.chang|ePasswor|
|00003730| 64 28 6f 6c 64 70 77 2c | 20 70 77 31 2e 76 61 6c |d(oldpw,| pw1.val|
|00003740| 75 65 29 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ue);. | |
|00003750| 20 69 66 20 28 70 77 31 | 2e 76 61 6c 75 65 20 3d | if (pw1|.value =|
|00003760| 3d 20 22 22 29 20 7b 0a | 20 20 20 20 20 20 20 20 |= "") {.| |
|00003770| 20 20 20 20 20 20 61 6c | 65 72 74 28 62 75 6e 64 | al|ert(bund|
|00003780| 6c 65 2e 47 65 74 53 74 | 72 69 6e 67 46 72 6f 6d |le.GetSt|ringFrom|
|00003790| 4e 61 6d 65 28 22 70 77 | 5f 65 72 61 73 65 64 5f |Name("pw|_erased_|
|000037a0| 6f 6b 22 29 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ok"). | |
|000037b0| 20 20 20 20 20 20 20 20 | 20 2b 20 22 20 22 0a 20 | | + " ". |
|000037c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000037d0| 20 20 20 2b 20 62 75 6e | 64 6c 65 2e 47 65 74 53 | + bun|dle.GetS|
|000037e0| 74 72 69 6e 67 46 72 6f | 6d 4e 61 6d 65 28 22 70 |tringFro|mName("p|
|000037f0| 77 5f 65 6d 70 74 79 5f | 77 61 72 6e 69 6e 67 22 |w_empty_|warning"|
|00003800| 29 29 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |));. | |
|00003810| 7d 20 65 6c 73 65 20 7b | 0a 20 20 20 20 20 20 20 |} else {|. |
|00003820| 20 20 20 20 20 20 20 61 | 6c 65 72 74 28 62 75 6e | a|lert(bun|
|00003830| 64 6c 65 2e 47 65 74 53 | 74 72 69 6e 67 46 72 6f |dle.GetS|tringFro|
|00003840| 6d 4e 61 6d 65 28 22 70 | 77 5f 63 68 61 6e 67 65 |mName("p|w_change|
|00003850| 5f 6f 6b 22 29 29 3b 20 | 0a 20 20 20 20 20 20 20 |_ok")); |. |
|00003860| 20 20 20 20 20 7d 0a 20 | 20 20 20 20 20 20 20 20 | }. | |
|00003870| 20 20 20 73 75 63 63 65 | 73 73 20 3d 20 74 72 75 | succe|ss = tru|
|00003880| 65 3b 0a 20 20 20 20 20 | 20 20 20 20 20 7d 0a 20 |e;. | }. |
|00003890| 20 20 20 20 20 20 20 7d | 0a 20 20 20 20 20 20 7d | }|. }|
|000038a0| 20 65 6c 73 65 20 7b 0a | 20 20 20 20 20 20 20 20 | else {.| |
|000038b0| 6f 6c 64 70 77 62 6f 78 | 2e 66 6f 63 75 73 28 29 |oldpwbox|.focus()|
|000038c0| 3b 0a 20 20 20 20 20 20 | 20 20 6f 6c 64 70 77 62 |;. | oldpwb|
|000038d0| 6f 78 2e 73 65 74 41 74 | 74 72 69 62 75 74 65 28 |ox.setAt|tribute(|
|000038e0| 22 76 61 6c 75 65 22 2c | 20 22 22 29 3b 0a 20 20 |"value",| "");. |
|000038f0| 20 20 20 20 20 20 61 6c | 65 72 74 28 62 75 6e 64 | al|ert(bund|
|00003900| 6c 65 2e 47 65 74 53 74 | 72 69 6e 67 46 72 6f 6d |le.GetSt|ringFrom|
|00003910| 4e 61 6d 65 28 22 69 6e | 63 6f 72 72 65 63 74 5f |Name("in|correct_|
|00003920| 70 77 22 29 29 3b 20 0a | 20 20 20 20 20 20 7d 0a |pw")); .| }.|
|00003930| 20 20 20 20 7d 20 63 61 | 74 63 68 20 28 65 29 20 | } ca|tch (e) |
|00003940| 7b 0a 20 20 20 20 20 20 | 61 6c 65 72 74 28 62 75 |{. |alert(bu|
|00003950| 6e 64 6c 65 2e 47 65 74 | 53 74 72 69 6e 67 46 72 |ndle.Get|StringFr|
|00003960| 6f 6d 4e 61 6d 65 28 22 | 66 61 69 6c 65 64 5f 70 |omName("|failed_p|
|00003970| 77 5f 63 68 61 6e 67 65 | 22 29 29 3b 20 0a 20 20 |w_change|")); . |
|00003980| 20 20 7d 0a 20 20 7d 20 | 65 6c 73 65 20 7b 0a 20 | }. } |else {. |
|00003990| 20 20 20 74 6f 6b 65 6e | 2e 69 6e 69 74 50 61 73 | token|.initPas|
|000039a0| 73 77 6f 72 64 28 70 77 | 31 2e 76 61 6c 75 65 29 |sword(pw|1.value)|
|000039b0| 3b 0a 20 20 20 20 69 66 | 20 28 70 77 31 2e 76 61 |;. if| (pw1.va|
|000039c0| 6c 75 65 20 3d 3d 20 22 | 22 29 20 7b 0a 20 20 20 |lue == "|") {. |
|000039d0| 20 20 20 61 6c 65 72 74 | 28 62 75 6e 64 6c 65 2e | alert|(bundle.|
|000039e0| 47 65 74 53 74 72 69 6e | 67 46 72 6f 6d 4e 61 6d |GetStrin|gFromNam|
|000039f0| 65 28 22 70 77 5f 6e 6f | 74 5f 77 61 6e 74 65 64 |e("pw_no|t_wanted|
|00003a00| 22 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 2b |"). | +|
|00003a10| 20 22 20 22 20 0a 20 20 | 20 20 20 20 20 20 20 20 | " " . | |
|00003a20| 20 20 2b 20 62 75 6e 64 | 6c 65 2e 47 65 74 53 74 | + bund|le.GetSt|
|00003a30| 72 69 6e 67 46 72 6f 6d | 4e 61 6d 65 28 22 70 77 |ringFrom|Name("pw|
|00003a40| 5f 65 6d 70 74 79 5f 77 | 61 72 6e 69 6e 67 22 29 |_empty_w|arning")|
|00003a50| 29 3b 0a 20 20 20 20 7d | 0a 20 20 20 20 73 75 63 |);. }|. suc|
|00003a60| 63 65 73 73 20 3d 20 74 | 72 75 65 3b 0a 20 20 7d |cess = t|rue;. }|
|00003a70| 0a 0a 20 20 69 66 20 28 | 73 75 63 63 65 73 73 20 |.. if (|success |
|00003a80| 26 26 20 70 61 72 61 6d | 73 29 0a 20 20 20 20 2f |&& param|s). /|
|00003a90| 2f 20 52 65 74 75 72 6e | 20 76 61 6c 75 65 20 31 |/ Return| value 1|
|00003aa0| 20 6d 65 61 6e 73 20 22 | 73 75 63 63 65 73 73 66 | means "|successf|
|00003ab0| 75 6c 6c 79 20 65 78 65 | 63 75 74 65 64 20 6f 6b |ully exe|cuted ok|
|00003ac0| 22 0a 20 20 20 20 70 61 | 72 61 6d 73 2e 53 65 74 |". pa|rams.Set|
|00003ad0| 49 6e 74 28 31 2c 20 31 | 29 3b 0a 0a 20 20 2f 2f |Int(1, 1|);.. //|
|00003ae0| 20 54 65 72 6d 69 6e 61 | 74 65 20 64 69 61 6c 6f | Termina|te dialo|
|00003af0| 67 0a 20 20 72 65 74 75 | 72 6e 20 73 75 63 63 65 |g. retu|rn succe|
|00003b00| 73 73 3b 0a 7d 0a 0a 66 | 75 6e 63 74 69 6f 6e 20 |ss;.}..f|unction |
|00003b10| 67 65 74 50 61 73 73 77 | 6f 72 64 28 29 0a 7b 0a |getPassw|ord().{.|
|00003b20| 20 20 2f 2f 20 67 72 61 | 62 20 77 68 61 74 20 77 | // gra|b what w|
|00003b30| 61 73 20 65 6e 74 65 72 | 65 64 0a 20 20 70 61 72 |as enter|ed. par|
|00003b40| 61 6d 73 2e 53 65 74 53 | 74 72 69 6e 67 28 32 2c |ams.SetS|tring(2,|
|00003b50| 20 70 77 31 2e 76 61 6c | 75 65 29 3b 0a 20 20 2f | pw1.val|ue);. /|
|00003b60| 2f 20 52 65 74 75 72 6e | 20 76 61 6c 75 65 0a 20 |/ Return| value. |
|00003b70| 20 70 61 72 61 6d 73 2e | 53 65 74 49 6e 74 28 31 | params.|SetInt(1|
|00003b80| 2c 20 31 29 3b 0a 20 20 | 2f 2f 20 54 65 72 6d 69 |, 1);. |// Termi|
|00003b90| 6e 61 74 65 20 64 69 61 | 6c 6f 67 0a 20 20 72 65 |nate dia|log. re|
|00003ba0| 74 75 72 6e 20 74 72 75 | 65 3b 0a 7d 0a 0a 66 75 |turn tru|e;.}..fu|
|00003bb0| 6e 63 74 69 6f 6e 20 73 | 65 74 50 31 32 50 61 73 |nction s|etP12Pas|
|00003bc0| 73 77 6f 72 64 28 29 0a | 7b 0a 20 20 2f 2f 20 67 |sword().|{. // g|
|00003bd0| 72 61 62 20 77 68 61 74 | 20 77 61 73 20 65 6e 74 |rab what| was ent|
|00003be0| 65 72 65 64 0a 20 20 70 | 61 72 61 6d 73 2e 53 65 |ered. p|arams.Se|
|00003bf0| 74 53 74 72 69 6e 67 28 | 32 2c 20 70 77 31 2e 76 |tString(|2, pw1.v|
|00003c00| 61 6c 75 65 29 3b 0a 20 | 20 2f 2f 20 52 65 74 75 |alue);. | // Retu|
|00003c10| 72 6e 20 76 61 6c 75 65 | 0a 20 20 70 61 72 61 6d |rn value|. param|
|00003c20| 73 2e 53 65 74 49 6e 74 | 28 31 2c 20 31 29 3b 0a |s.SetInt|(1, 1);.|
|00003c30| 20 20 2f 2f 20 54 65 72 | 6d 69 6e 61 74 65 20 64 | // Ter|minate d|
|00003c40| 69 61 6c 6f 67 0a 20 20 | 72 65 74 75 72 6e 20 74 |ialog. |return t|
|00003c50| 72 75 65 3b 0a 7d 0a 0a | 66 75 6e 63 74 69 6f 6e |rue;.}..|function|
|00003c60| 20 73 65 74 50 61 73 73 | 77 6f 72 64 53 74 72 65 | setPass|wordStre|
|00003c70| 6e 67 74 68 28 29 0a 7b | 0a 2f 2f 20 48 65 72 65 |ngth().{|.// Here|
|00003c80| 20 69 73 20 68 6f 77 20 | 77 65 20 77 65 69 67 68 | is how |we weigh|
|00003c90| 20 74 68 65 20 71 75 61 | 6c 69 74 79 20 6f 66 20 | the qua|lity of |
|00003ca0| 74 68 65 20 70 61 73 73 | 77 6f 72 64 0a 2f 2f 20 |the pass|word.// |
|00003cb0| 6e 75 6d 62 65 72 20 6f | 66 20 63 68 61 72 61 63 |number o|f charac|
|00003cc0| 74 65 72 73 0a 2f 2f 20 | 6e 75 6d 62 65 72 73 0a |ters.// |numbers.|
|00003cd0| 2f 2f 20 6e 6f 6e 2d 61 | 6c 70 68 61 2d 6e 75 6d |// non-a|lpha-num|
|00003ce0| 65 72 69 63 20 63 68 61 | 72 73 0a 2f 2f 20 75 70 |eric cha|rs.// up|
|00003cf0| 70 65 72 20 61 6e 64 20 | 6c 6f 77 65 72 20 63 61 |per and |lower ca|
|00003d00| 73 65 20 63 68 61 72 61 | 63 74 65 72 73 0a 0a 20 |se chara|cters.. |
|00003d10| 20 76 61 72 20 70 77 3d | 64 6f 63 75 6d 65 6e 74 | var pw=|document|
|00003d20| 2e 67 65 74 45 6c 65 6d | 65 6e 74 42 79 49 64 28 |.getElem|entById(|
|00003d30| 27 70 77 31 27 29 2e 76 | 61 6c 75 65 3b 0a 2f 2f |'pw1').v|alue;.//|
|00003d40| 20 20 61 6c 65 72 74 28 | 22 70 61 73 73 77 6f 72 | alert(|"passwor|
|00003d50| 64 3d 27 22 20 2b 20 70 | 77 20 2b 22 27 22 29 3b |d='" + p|w +"'");|
|00003d60| 0a 0a 2f 2f 6c 65 6e 67 | 74 68 20 6f 66 20 74 68 |..//leng|th of th|
|00003d70| 65 20 70 61 73 73 77 6f | 72 64 0a 20 20 76 61 72 |e passwo|rd. var|
|00003d80| 20 70 77 6c 65 6e 67 74 | 68 3d 28 70 77 2e 6c 65 | pwlengt|h=(pw.le|
|00003d90| 6e 67 74 68 29 3b 0a 20 | 20 69 66 20 28 70 77 6c |ngth);. | if (pwl|
|00003da0| 65 6e 67 74 68 3e 35 29 | 0a 20 20 20 20 70 77 6c |ength>5)|. pwl|
|00003db0| 65 6e 67 74 68 3d 35 3b | 0a 0a 0a 2f 2f 75 73 65 |ength=5;|...//use|
|00003dc0| 20 6f 66 20 6e 75 6d 62 | 65 72 73 20 69 6e 20 74 | of numb|ers in t|
|00003dd0| 68 65 20 70 61 73 73 77 | 6f 72 64 0a 20 20 76 61 |he passw|ord. va|
|00003de0| 72 20 6e 75 6d 6e 75 6d | 65 72 69 63 20 3d 20 70 |r numnum|eric = p|
|00003df0| 77 2e 72 65 70 6c 61 63 | 65 20 28 2f 5b 30 2d 39 |w.replac|e (/[0-9|
|00003e00| 5d 2f 67 2c 20 22 22 29 | 3b 0a 20 20 76 61 72 20 |]/g, "")|;. var |
|00003e10| 6e 75 6d 65 72 69 63 3d | 28 70 77 2e 6c 65 6e 67 |numeric=|(pw.leng|
|00003e20| 74 68 20 2d 20 6e 75 6d | 6e 75 6d 65 72 69 63 2e |th - num|numeric.|
|00003e30| 6c 65 6e 67 74 68 29 3b | 0a 20 20 69 66 20 28 6e |length);|. if (n|
|00003e40| 75 6d 65 72 69 63 3e 33 | 29 0a 20 20 20 20 6e 75 |umeric>3|). nu|
|00003e50| 6d 65 72 69 63 3d 33 3b | 0a 0a 2f 2f 75 73 65 20 |meric=3;|..//use |
|00003e60| 6f 66 20 73 79 6d 62 6f | 6c 73 20 69 6e 20 74 68 |of symbo|ls in th|
|00003e70| 65 20 70 61 73 73 77 6f | 72 64 0a 20 20 76 61 72 |e passwo|rd. var|
|00003e80| 20 73 79 6d 62 6f 6c 73 | 20 3d 20 70 77 2e 72 65 | symbols| = pw.re|
|00003e90| 70 6c 61 63 65 20 28 2f | 5c 57 2f 67 2c 20 22 22 |place (/|\W/g, ""|
|00003ea0| 29 3b 0a 20 20 76 61 72 | 20 6e 75 6d 73 79 6d 62 |);. var| numsymb|
|00003eb0| 6f 6c 73 3d 28 70 77 2e | 6c 65 6e 67 74 68 20 2d |ols=(pw.|length -|
|00003ec0| 20 73 79 6d 62 6f 6c 73 | 2e 6c 65 6e 67 74 68 29 | symbols|.length)|
|00003ed0| 3b 0a 20 20 69 66 20 28 | 6e 75 6d 73 79 6d 62 6f |;. if (|numsymbo|
|00003ee0| 6c 73 3e 33 29 0a 20 20 | 20 20 6e 75 6d 73 79 6d |ls>3). | numsym|
|00003ef0| 62 6f 6c 73 3d 33 3b 0a | 0a 2f 2f 75 73 65 20 6f |bols=3;.|.//use o|
|00003f00| 66 20 75 70 70 65 72 63 | 61 73 65 20 69 6e 20 74 |f upperc|ase in t|
|00003f10| 68 65 20 70 61 73 73 77 | 6f 72 64 0a 20 20 76 61 |he passw|ord. va|
|00003f20| 72 20 6e 75 6d 75 70 70 | 65 72 20 3d 20 70 77 2e |r numupp|er = pw.|
|00003f30| 72 65 70 6c 61 63 65 20 | 28 2f 5b 41 2d 5a 5d 2f |replace |(/[A-Z]/|
|00003f40| 67 2c 20 22 22 29 3b 0a | 20 20 76 61 72 20 75 70 |g, "");.| var up|
|00003f50| 70 65 72 3d 28 70 77 2e | 6c 65 6e 67 74 68 20 2d |per=(pw.|length -|
|00003f60| 20 6e 75 6d 75 70 70 65 | 72 2e 6c 65 6e 67 74 68 | numuppe|r.length|
|00003f70| 29 3b 0a 20 20 69 66 20 | 28 75 70 70 65 72 3e 33 |);. if |(upper>3|
|00003f80| 29 0a 20 20 20 20 75 70 | 70 65 72 3d 33 3b 0a 0a |). up|per=3;..|
|00003f90| 0a 20 20 76 61 72 20 70 | 77 73 74 72 65 6e 67 74 |. var p|wstrengt|
|00003fa0| 68 3d 28 28 70 77 6c 65 | 6e 67 74 68 2a 31 30 29 |h=((pwle|ngth*10)|
|00003fb0| 2d 32 30 29 20 2b 20 28 | 6e 75 6d 65 72 69 63 2a |-20) + (|numeric*|
|00003fc0| 31 30 29 20 2b 20 28 6e | 75 6d 73 79 6d 62 6f 6c |10) + (n|umsymbol|
|00003fd0| 73 2a 31 35 29 20 2b 20 | 28 75 70 70 65 72 2a 31 |s*15) + |(upper*1|
|00003fe0| 30 29 3b 0a 0a 20 20 2f | 2f 20 6d 61 6b 65 20 73 |0);.. /|/ make s|
|00003ff0| 75 72 65 20 77 65 27 72 | 65 20 67 69 76 65 20 61 |ure we'r|e give a|
|00004000| 20 76 61 6c 75 65 20 62 | 65 74 77 65 65 6e 20 30 | value b|etween 0|
|00004010| 20 61 6e 64 20 31 30 30 | 0a 20 20 69 66 20 28 20 | and 100|. if ( |
|00004020| 70 77 73 74 72 65 6e 67 | 74 68 20 3c 20 30 20 29 |pwstreng|th < 0 )|
|00004030| 20 7b 0a 20 20 20 20 70 | 77 73 74 72 65 6e 67 74 | {. p|wstrengt|
|00004040| 68 20 3d 20 30 3b 0a 20 | 20 7d 0a 20 20 0a 20 20 |h = 0;. | }. . |
|00004050| 69 66 20 28 20 70 77 73 | 74 72 65 6e 67 74 68 20 |if ( pws|trength |
|00004060| 3e 20 31 30 30 20 29 20 | 7b 0a 20 20 20 20 70 77 |> 100 ) |{. pw|
|00004070| 73 74 72 65 6e 67 74 68 | 20 3d 20 31 30 30 3b 0a |strength| = 100;.|
|00004080| 20 20 7d 0a 0a 20 20 76 | 61 72 20 6d 79 6d 65 74 | }.. v|ar mymet|
|00004090| 65 72 3d 64 6f 63 75 6d | 65 6e 74 2e 67 65 74 45 |er=docum|ent.getE|
|000040a0| 6c 65 6d 65 6e 74 42 79 | 49 64 28 27 70 77 6d 65 |lementBy|Id('pwme|
|000040b0| 74 65 72 27 29 3b 0a 20 | 20 6d 79 6d 65 74 65 72 |ter');. | mymeter|
|000040c0| 2e 73 65 74 41 74 74 72 | 69 62 75 74 65 28 22 76 |.setAttr|ibute("v|
|000040d0| 61 6c 75 65 22 2c 70 77 | 73 74 72 65 6e 67 74 68 |alue",pw|strength|
|000040e0| 29 3b 0a 0a 20 20 72 65 | 74 75 72 6e 3b 0a 7d 0a |);.. re|turn;.}.|
|000040f0| 0a 66 75 6e 63 74 69 6f | 6e 20 63 68 65 63 6b 50 |.functio|n checkP|
|00004100| 61 73 73 77 6f 72 64 73 | 28 29 0a 7b 0a 20 20 76 |asswords|().{. v|
|00004110| 61 72 20 70 77 31 3d 64 | 6f 63 75 6d 65 6e 74 2e |ar pw1=d|ocument.|
|00004120| 67 65 74 45 6c 65 6d 65 | 6e 74 42 79 49 64 28 27 |getEleme|ntById('|
|00004130| 70 77 31 27 29 2e 76 61 | 6c 75 65 3b 0a 20 20 76 |pw1').va|lue;. v|
|00004140| 61 72 20 70 77 32 3d 64 | 6f 63 75 6d 65 6e 74 2e |ar pw2=d|ocument.|
|00004150| 67 65 74 45 6c 65 6d 65 | 6e 74 42 79 49 64 28 27 |getEleme|ntById('|
|00004160| 70 77 32 27 29 2e 76 61 | 6c 75 65 3b 0a 0a 20 20 |pw2').va|lue;.. |
|00004170| 76 61 72 20 6f 6c 64 70 | 77 62 6f 78 20 3d 20 64 |var oldp|wbox = d|
|00004180| 6f 63 75 6d 65 6e 74 2e | 67 65 74 45 6c 65 6d 65 |ocument.|getEleme|
|00004190| 6e 74 42 79 49 64 28 22 | 6f 6c 64 70 77 22 29 3b |ntById("|oldpw");|
|000041a0| 0a 20 20 69 66 20 28 6f | 6c 64 70 77 62 6f 78 29 |. if (o|ldpwbox)|
|000041b0| 20 7b 0a 20 20 20 20 76 | 61 72 20 69 6e 69 74 70 | {. v|ar initp|
|000041c0| 77 20 3d 20 6f 6c 64 70 | 77 62 6f 78 2e 67 65 74 |w = oldp|wbox.get|
|000041d0| 41 74 74 72 69 62 75 74 | 65 28 22 69 6e 69 74 65 |Attribut|e("inite|
|000041e0| 64 22 29 3b 0a 0a 20 20 | 20 20 69 66 20 28 69 6e |d");.. | if (in|
|000041f0| 69 74 70 77 20 3d 3d 20 | 22 65 6d 70 74 79 22 20 |itpw == |"empty" |
|00004200| 26 26 20 70 77 31 20 3d | 3d 20 22 22 29 20 7b 0a |&& pw1 =|= "") {.|
|00004210| 20 20 20 20 20 20 2f 2f | 20 54 68 65 20 74 6f 6b | //| The tok|
|00004220| 65 6e 20 68 61 73 20 61 | 6c 72 65 61 64 79 20 62 |en has a|lready b|
|00004230| 65 65 6e 20 69 6e 69 74 | 69 61 6c 69 7a 65 64 2c |een init|ialized,|
|00004240| 20 74 68 65 72 65 66 6f | 72 65 20 74 68 69 73 20 | therefo|re this |
|00004250| 64 69 61 6c 6f 67 0a 20 | 20 20 20 20 20 2f 2f 20 |dialog. | // |
|00004260| 77 61 73 20 63 61 6c 6c | 65 64 20 77 69 74 68 20 |was call|ed with |
|00004270| 74 68 65 20 69 6e 74 65 | 6e 74 69 6f 6e 20 74 6f |the inte|ntion to|
|00004280| 20 63 68 61 6e 67 65 20 | 74 68 65 20 70 61 73 73 | change |the pass|
|00004290| 77 6f 72 64 2e 0a 20 20 | 20 20 20 20 2f 2f 20 54 |word.. | // T|
|000042a0| 68 65 20 74 6f 6b 65 6e | 20 63 75 72 72 65 6e 74 |he token| current|
|000042b0| 6c 79 20 75 73 65 73 20 | 61 6e 20 65 6d 70 74 79 |ly uses |an empty|
|000042c0| 20 70 61 73 73 77 6f 72 | 64 2e 0a 20 20 20 20 20 | passwor|d.. |
|000042d0| 20 2f 2f 20 57 65 20 77 | 69 6c 6c 20 6e 6f 74 20 | // We w|ill not |
|000042e0| 61 6c 6c 6f 77 20 63 68 | 61 6e 67 69 6e 67 20 74 |allow ch|anging t|
|000042f0| 68 65 20 70 61 73 73 77 | 6f 72 64 20 66 72 6f 6d |he passw|ord from|
|00004300| 20 65 6d 70 74 79 20 74 | 6f 20 65 6d 70 74 79 2e | empty t|o empty.|
|00004310| 0a 20 20 20 20 20 20 64 | 6f 63 75 6d 65 6e 74 2e |. d|ocument.|
|00004320| 64 6f 63 75 6d 65 6e 74 | 45 6c 65 6d 65 6e 74 2e |document|Element.|
|00004330| 67 65 74 42 75 74 74 6f | 6e 28 22 61 63 63 65 70 |getButto|n("accep|
|00004340| 74 22 29 2e 64 69 73 61 | 62 6c 65 64 20 3d 20 74 |t").disa|bled = t|
|00004350| 72 75 65 3b 0a 20 20 20 | 20 20 20 72 65 74 75 72 |rue;. | retur|
|00004360| 6e 3b 0a 20 20 20 20 7d | 0a 20 20 7d 0a 0a 20 20 |n;. }|. }.. |
|00004370| 64 6f 63 75 6d 65 6e 74 | 2e 64 6f 63 75 6d 65 6e |document|.documen|
|00004380| 74 45 6c 65 6d 65 6e 74 | 2e 67 65 74 42 75 74 74 |tElement|.getButt|
|00004390| 6f 6e 28 22 61 63 63 65 | 70 74 22 29 2e 64 69 73 |on("acce|pt").dis|
|000043a0| 61 62 6c 65 64 20 3d 20 | 28 70 77 31 20 21 3d 20 |abled = |(pw1 != |
|000043b0| 70 77 32 29 3b 0a 7d 0a | 50 4b 03 04 0a 00 00 00 |pw2);.}.|PK......|
|000043c0| 00 00 73 5f ed 34 cb d1 | d2 1b f0 0a 00 00 f0 0a |..s_.4..|........|
|000043d0| 00 00 20 00 00 00 63 6f | 6e 74 65 6e 74 2f 70 69 |.. ...co|ntent/pi|
|000043e0| 70 70 6b 69 2f 72 65 73 | 65 74 70 61 73 73 77 6f |ppki/res|etpasswo|
|000043f0| 72 64 2e 78 75 6c 3c 3f | 78 6d 6c 20 76 65 72 73 |rd.xul<?|xml vers|
|00004400| 69 6f 6e 3d 22 31 2e 30 | 22 3f 3e 0a 3c 21 2d 2d |ion="1.0|"?>.<!--|
|00004410| 20 2a 2a 2a 2a 2a 20 42 | 45 47 49 4e 20 4c 49 43 | ***** B|EGIN LIC|
|00004420| 45 4e 53 45 20 42 4c 4f | 43 4b 20 2a 2a 2a 2a 2a |ENSE BLO|CK *****|
|00004430| 0a 20 20 20 2d 20 56 65 | 72 73 69 6f 6e 3a 20 4d |. - Ve|rsion: M|
|00004440| 50 4c 20 31 2e 31 2f 47 | 50 4c 20 32 2e 30 2f 4c |PL 1.1/G|PL 2.0/L|
|00004450| 47 50 4c 20 32 2e 31 0a | 20 20 20 2d 0a 20 20 20 |GPL 2.1.| -. |
|00004460| 2d 20 54 68 65 20 63 6f | 6e 74 65 6e 74 73 20 6f |- The co|ntents o|
|00004470| 66 20 74 68 69 73 20 66 | 69 6c 65 20 61 72 65 20 |f this f|ile are |
|00004480| 73 75 62 6a 65 63 74 20 | 74 6f 20 74 68 65 20 4d |subject |to the M|
|00004490| 6f 7a 69 6c 6c 61 20 50 | 75 62 6c 69 63 20 4c 69 |ozilla P|ublic Li|
|000044a0| 63 65 6e 73 65 20 56 65 | 72 73 69 6f 6e 0a 20 20 |cense Ve|rsion. |
|000044b0| 20 2d 20 31 2e 31 20 28 | 74 68 65 20 22 4c 69 63 | - 1.1 (|the "Lic|
|000044c0| 65 6e 73 65 22 29 3b 20 | 79 6f 75 20 6d 61 79 20 |ense"); |you may |
|000044d0| 6e 6f 74 20 75 73 65 20 | 74 68 69 73 20 66 69 6c |not use |this fil|
|000044e0| 65 20 65 78 63 65 70 74 | 20 69 6e 20 63 6f 6d 70 |e except| in comp|
|000044f0| 6c 69 61 6e 63 65 20 77 | 69 74 68 0a 20 20 20 2d |liance w|ith. -|
|00004500| 20 74 68 65 20 4c 69 63 | 65 6e 73 65 2e 20 59 6f | the Lic|ense. Yo|
|00004510| 75 20 6d 61 79 20 6f 62 | 74 61 69 6e 20 61 20 63 |u may ob|tain a c|
|00004520| 6f 70 79 20 6f 66 20 74 | 68 65 20 4c 69 63 65 6e |opy of t|he Licen|
|00004530| 73 65 20 61 74 0a 20 20 | 20 2d 20 68 74 74 70 3a |se at. | - http:|
|00004540| 2f 2f 77 77 77 2e 6d 6f | 7a 69 6c 6c 61 2e 6f 72 |//www.mo|zilla.or|
|00004550| 67 2f 4d 50 4c 2f 0a 20 | 20 20 2d 0a 20 20 20 2d |g/MPL/. | -. -|
|00004560| 20 53 6f 66 74 77 61 72 | 65 20 64 69 73 74 72 69 | Softwar|e distri|
|00004570| 62 75 74 65 64 20 75 6e | 64 65 72 20 74 68 65 20 |buted un|der the |
|00004580| 4c 69 63 65 6e 73 65 20 | 69 73 20 64 69 73 74 72 |License |is distr|
|00004590| 69 62 75 74 65 64 20 6f | 6e 20 61 6e 20 22 41 53 |ibuted o|n an "AS|
|000045a0| 20 49 53 22 20 62 61 73 | 69 73 2c 0a 20 20 20 2d | IS" bas|is,. -|
|000045b0| 20 57 49 54 48 4f 55 54 | 20 57 41 52 52 41 4e 54 | WITHOUT| WARRANT|
|000045c0| 59 20 4f 46 20 41 4e 59 | 20 4b 49 4e 44 2c 20 65 |Y OF ANY| KIND, e|
|000045d0| 69 74 68 65 72 20 65 78 | 70 72 65 73 73 20 6f 72 |ither ex|press or|
|000045e0| 20 69 6d 70 6c 69 65 64 | 2e 20 53 65 65 20 74 68 | implied|. See th|
|000045f0| 65 20 4c 69 63 65 6e 73 | 65 0a 20 20 20 2d 20 66 |e Licens|e. - f|
|00004600| 6f 72 20 74 68 65 20 73 | 70 65 63 69 66 69 63 20 |or the s|pecific |
|00004610| 6c 61 6e 67 75 61 67 65 | 20 67 6f 76 65 72 6e 69 |language| governi|
|00004620| 6e 67 20 72 69 67 68 74 | 73 20 61 6e 64 20 6c 69 |ng right|s and li|
|00004630| 6d 69 74 61 74 69 6f 6e | 73 20 75 6e 64 65 72 20 |mitation|s under |
|00004640| 74 68 65 0a 20 20 20 2d | 20 4c 69 63 65 6e 73 65 |the. -| License|
|00004650| 2e 0a 20 20 20 2d 0a 20 | 20 20 2d 20 54 68 65 20 |.. -. | - The |
|00004660| 4f 72 69 67 69 6e 61 6c | 20 43 6f 64 65 20 69 73 |Original| Code is|
|00004670| 20 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 20 63 6f 64 | mozilla|.org cod|
|00004680| 65 2e 0a 20 20 20 2d 0a | 20 20 20 2d 20 54 68 65 |e.. -.| - The|
|00004690| 20 49 6e 69 74 69 61 6c | 20 44 65 76 65 6c 6f 70 | Initial| Develop|
|000046a0| 65 72 20 6f 66 20 74 68 | 65 20 4f 72 69 67 69 6e |er of th|e Origin|
|000046b0| 61 6c 20 43 6f 64 65 20 | 69 73 0a 20 20 20 2d 20 |al Code |is. - |
|000046c0| 4e 65 74 73 63 61 70 65 | 20 43 6f 6d 6d 75 6e 69 |Netscape| Communi|
|000046d0| 63 61 74 69 6f 6e 73 20 | 43 6f 72 70 2e 0a 20 20 |cations |Corp.. |
|000046e0| 20 2d 20 50 6f 72 74 69 | 6f 6e 73 20 63 72 65 61 | - Porti|ons crea|
|000046f0| 74 65 64 20 62 79 20 74 | 68 65 20 49 6e 69 74 69 |ted by t|he Initi|
|00004700| 61 6c 20 44 65 76 65 6c | 6f 70 65 72 20 61 72 65 |al Devel|oper are|
|00004710| 20 43 6f 70 79 72 69 67 | 68 74 20 28 43 29 20 32 | Copyrig|ht (C) 2|
|00004720| 30 30 31 0a 20 20 20 2d | 20 74 68 65 20 49 6e 69 |001. -| the Ini|
|00004730| 74 69 61 6c 20 44 65 76 | 65 6c 6f 70 65 72 2e 20 |tial Dev|eloper. |
|00004740| 41 6c 6c 20 52 69 67 68 | 74 73 20 52 65 73 65 72 |All Righ|ts Reser|
|00004750| 76 65 64 2e 0a 20 20 20 | 2d 0a 20 20 20 2d 20 43 |ved.. |-. - C|
|00004760| 6f 6e 74 72 69 62 75 74 | 6f 72 28 73 29 3a 0a 20 |ontribut|or(s):. |
|00004770| 20 20 2d 0a 20 20 20 2d | 20 41 6c 74 65 72 6e 61 | -. -| Alterna|
|00004780| 74 69 76 65 6c 79 2c 20 | 74 68 65 20 63 6f 6e 74 |tively, |the cont|
|00004790| 65 6e 74 73 20 6f 66 20 | 74 68 69 73 20 66 69 6c |ents of |this fil|
|000047a0| 65 20 6d 61 79 20 62 65 | 20 75 73 65 64 20 75 6e |e may be| used un|
|000047b0| 64 65 72 20 74 68 65 20 | 74 65 72 6d 73 20 6f 66 |der the |terms of|
|000047c0| 0a 20 20 20 2d 20 65 69 | 74 68 65 72 20 74 68 65 |. - ei|ther the|
|000047d0| 20 47 4e 55 20 47 65 6e | 65 72 61 6c 20 50 75 62 | GNU Gen|eral Pub|
|000047e0| 6c 69 63 20 4c 69 63 65 | 6e 73 65 20 56 65 72 73 |lic Lice|nse Vers|
|000047f0| 69 6f 6e 20 32 20 6f 72 | 20 6c 61 74 65 72 20 28 |ion 2 or| later (|
|00004800| 74 68 65 20 22 47 50 4c | 22 29 2c 20 6f 72 0a 20 |the "GPL|"), or. |
|00004810| 20 20 2d 20 74 68 65 20 | 47 4e 55 20 4c 65 73 73 | - the |GNU Less|
|00004820| 65 72 20 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |er Gener|al Publi|
|00004830| 63 20 4c 69 63 65 6e 73 | 65 20 56 65 72 73 69 6f |c Licens|e Versio|
|00004840| 6e 20 32 2e 31 20 6f 72 | 20 6c 61 74 65 72 20 28 |n 2.1 or| later (|
|00004850| 74 68 65 20 22 4c 47 50 | 4c 22 29 2c 0a 20 20 20 |the "LGP|L"),. |
|00004860| 2d 20 69 6e 20 77 68 69 | 63 68 20 63 61 73 65 20 |- in whi|ch case |
|00004870| 74 68 65 20 70 72 6f 76 | 69 73 69 6f 6e 73 20 6f |the prov|isions o|
|00004880| 66 20 74 68 65 20 47 50 | 4c 20 6f 72 20 74 68 65 |f the GP|L or the|
|00004890| 20 4c 47 50 4c 20 61 72 | 65 20 61 70 70 6c 69 63 | LGPL ar|e applic|
|000048a0| 61 62 6c 65 20 69 6e 73 | 74 65 61 64 0a 20 20 20 |able ins|tead. |
|000048b0| 2d 20 6f 66 20 74 68 6f | 73 65 20 61 62 6f 76 65 |- of tho|se above|
|000048c0| 2e 20 49 66 20 79 6f 75 | 20 77 69 73 68 20 74 6f |. If you| wish to|
|000048d0| 20 61 6c 6c 6f 77 20 75 | 73 65 20 6f 66 20 79 6f | allow u|se of yo|
|000048e0| 75 72 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 74 68 |ur versi|on of th|
|000048f0| 69 73 20 66 69 6c 65 20 | 6f 6e 6c 79 0a 20 20 20 |is file |only. |
|00004900| 2d 20 75 6e 64 65 72 20 | 74 68 65 20 74 65 72 6d |- under |the term|
|00004910| 73 20 6f 66 20 65 69 74 | 68 65 72 20 74 68 65 20 |s of eit|her the |
|00004920| 47 50 4c 20 6f 72 20 74 | 68 65 20 4c 47 50 4c 2c |GPL or t|he LGPL,|
|00004930| 20 61 6e 64 20 6e 6f 74 | 20 74 6f 20 61 6c 6c 6f | and not| to allo|
|00004940| 77 20 6f 74 68 65 72 73 | 20 74 6f 0a 20 20 20 2d |w others| to. -|
|00004950| 20 75 73 65 20 79 6f 75 | 72 20 76 65 72 73 69 6f | use you|r versio|
|00004960| 6e 20 6f 66 20 74 68 69 | 73 20 66 69 6c 65 20 75 |n of thi|s file u|
|00004970| 6e 64 65 72 20 74 68 65 | 20 74 65 72 6d 73 20 6f |nder the| terms o|
|00004980| 66 20 74 68 65 20 4d 50 | 4c 2c 20 69 6e 64 69 63 |f the MP|L, indic|
|00004990| 61 74 65 20 79 6f 75 72 | 0a 20 20 20 2d 20 64 65 |ate your|. - de|
|000049a0| 63 69 73 69 6f 6e 20 62 | 79 20 64 65 6c 65 74 69 |cision b|y deleti|
|000049b0| 6e 67 20 74 68 65 20 70 | 72 6f 76 69 73 69 6f 6e |ng the p|rovision|
|000049c0| 73 20 61 62 6f 76 65 20 | 61 6e 64 20 72 65 70 6c |s above |and repl|
|000049d0| 61 63 65 20 74 68 65 6d | 20 77 69 74 68 20 74 68 |ace them| with th|
|000049e0| 65 20 6e 6f 74 69 63 65 | 0a 20 20 20 2d 20 61 6e |e notice|. - an|
|000049f0| 64 20 6f 74 68 65 72 20 | 70 72 6f 76 69 73 69 6f |d other |provisio|
|00004a00| 6e 73 20 72 65 71 75 69 | 72 65 64 20 62 79 20 74 |ns requi|red by t|
|00004a10| 68 65 20 47 50 4c 20 6f | 72 20 74 68 65 20 4c 47 |he GPL o|r the LG|
|00004a20| 50 4c 2e 20 49 66 20 79 | 6f 75 20 64 6f 20 6e 6f |PL. If y|ou do no|
|00004a30| 74 20 64 65 6c 65 74 65 | 0a 20 20 20 2d 20 74 68 |t delete|. - th|
|00004a40| 65 20 70 72 6f 76 69 73 | 69 6f 6e 73 20 61 62 6f |e provis|ions abo|
|00004a50| 76 65 2c 20 61 20 72 65 | 63 69 70 69 65 6e 74 20 |ve, a re|cipient |
|00004a60| 6d 61 79 20 75 73 65 20 | 79 6f 75 72 20 76 65 72 |may use |your ver|
|00004a70| 73 69 6f 6e 20 6f 66 20 | 74 68 69 73 20 66 69 6c |sion of |this fil|
|00004a80| 65 20 75 6e 64 65 72 0a | 20 20 20 2d 20 74 68 65 |e under.| - the|
|00004a90| 20 74 65 72 6d 73 20 6f | 66 20 61 6e 79 20 6f 6e | terms o|f any on|
|00004aa0| 65 20 6f 66 20 74 68 65 | 20 4d 50 4c 2c 20 74 68 |e of the| MPL, th|
|00004ab0| 65 20 47 50 4c 20 6f 72 | 20 74 68 65 20 4c 47 50 |e GPL or| the LGP|
|00004ac0| 4c 2e 0a 20 20 20 2d 0a | 20 20 20 2d 20 2a 2a 2a |L.. -.| - ***|
|00004ad0| 2a 2a 20 45 4e 44 20 4c | 49 43 45 4e 53 45 20 42 |** END L|ICENSE B|
|00004ae0| 4c 4f 43 4b 20 2a 2a 2a | 2a 2a 20 2d 2d 3e 0a 0a |LOCK ***|** -->..|
|00004af0| 3c 3f 78 6d 6c 2d 73 74 | 79 6c 65 73 68 65 65 74 |<?xml-st|ylesheet|
|00004b00| 20 68 72 65 66 3d 22 63 | 68 72 6f 6d 65 3a 2f 2f | href="c|hrome://|
|00004b10| 67 6c 6f 62 61 6c 2f 73 | 6b 69 6e 2f 22 20 74 79 |global/s|kin/" ty|
|00004b20| 70 65 3d 22 74 65 78 74 | 2f 63 73 73 22 3f 3e 0a |pe="text|/css"?>.|
|00004b30| 0a 3c 21 44 4f 43 54 59 | 50 45 20 64 69 61 6c 6f |.<!DOCTY|PE dialo|
|00004b40| 67 20 53 59 53 54 45 4d | 20 22 63 68 72 6f 6d 65 |g SYSTEM| "chrome|
|00004b50| 3a 2f 2f 70 69 70 70 6b | 69 2f 6c 6f 63 61 6c 65 |://pippk|i/locale|
|00004b60| 2f 70 69 70 70 6b 69 2e | 64 74 64 22 3e 0a 0a 3c |/pippki.|dtd">..<|
|00004b70| 64 69 61 6c 6f 67 20 69 | 64 3d 22 72 65 73 65 74 |dialog i|d="reset|
|00004b80| 5f 70 61 73 73 77 6f 72 | 64 22 20 74 69 74 6c 65 |_passwor|d" title|
|00004b90| 3d 22 26 72 65 73 65 74 | 50 61 73 73 77 6f 72 64 |="&reset|Password|
|00004ba0| 2e 74 69 74 6c 65 3b 22 | 0a 20 20 78 6d 6c 6e 73 |.title;"|. xmlns|
|00004bb0| 3d 22 68 74 74 70 3a 2f | 2f 77 77 77 2e 6d 6f 7a |="http:/|/www.moz|
|00004bc0| 69 6c 6c 61 2e 6f 72 67 | 2f 6b 65 79 6d 61 73 74 |illa.org|/keymast|
|00004bd0| 65 72 2f 67 61 74 65 6b | 65 65 70 65 72 2f 74 68 |er/gatek|eeper/th|
|00004be0| 65 72 65 2e 69 73 2e 6f | 6e 6c 79 2e 78 75 6c 22 |ere.is.o|nly.xul"|
|00004bf0| 20 20 20 20 20 20 0a 20 | 20 62 75 74 74 6f 6e 73 | . | buttons|
|00004c00| 3d 22 61 63 63 65 70 74 | 2c 63 61 6e 63 65 6c 22 |="accept|,cancel"|
|00004c10| 0a 20 20 62 75 74 74 6f | 6e 6c 61 62 65 6c 61 63 |. butto|nlabelac|
|00004c20| 63 65 70 74 3d 22 26 72 | 65 73 65 74 50 61 73 73 |cept="&r|esetPass|
|00004c30| 77 6f 72 64 42 75 74 74 | 6f 6e 4c 61 62 65 6c 3b |wordButt|onLabel;|
|00004c40| 22 0a 20 20 64 65 66 61 | 75 6c 74 42 75 74 74 6f |". defa|ultButto|
|00004c50| 6e 3d 22 63 61 6e 63 65 | 6c 22 0a 20 20 6f 6e 64 |n="cance|l". ond|
|00004c60| 69 61 6c 6f 67 61 63 63 | 65 70 74 3d 22 72 65 74 |ialogacc|ept="ret|
|00004c70| 75 72 6e 20 72 65 73 65 | 74 50 61 73 73 77 6f 72 |urn rese|tPasswor|
|00004c80| 64 28 29 3b 22 0a 20 20 | 73 74 79 6c 65 3d 22 77 |d();". |style="w|
|00004c90| 69 64 74 68 3a 20 34 30 | 65 6d 3b 22 20 6f 6e 6c |idth: 40|em;" onl|
|00004ca0| 6f 61 64 3d 22 6f 6e 4c | 6f 61 64 28 29 3b 22 3e |oad="onL|oad();">|
|00004cb0| 0a 0a 20 20 3c 73 74 72 | 69 6e 67 62 75 6e 64 6c |.. <str|ingbundl|
|00004cc0| 65 20 69 64 3d 22 70 69 | 70 70 6b 69 5f 62 75 6e |e id="pi|ppki_bun|
|00004cd0| 64 6c 65 22 20 73 72 63 | 3d 22 63 68 72 6f 6d 65 |dle" src|="chrome|
|00004ce0| 3a 2f 2f 70 69 70 70 6b | 69 2f 6c 6f 63 61 6c 65 |://pippk|i/locale|
|00004cf0| 2f 70 69 70 70 6b 69 2e | 70 72 6f 70 65 72 74 69 |/pippki.|properti|
|00004d00| 65 73 22 2f 3e 0a 0a 20 | 20 3c 73 63 72 69 70 74 |es"/>.. | <script|
|00004d10| 20 74 79 70 65 3d 22 61 | 70 70 6c 69 63 61 74 69 | type="a|pplicati|
|00004d20| 6f 6e 2f 78 2d 6a 61 76 | 61 73 63 72 69 70 74 22 |on/x-jav|ascript"|
|00004d30| 20 73 72 63 3d 22 63 68 | 72 6f 6d 65 3a 2f 2f 70 | src="ch|rome://p|
|00004d40| 69 70 70 6b 69 2f 63 6f | 6e 74 65 6e 74 2f 70 69 |ippki/co|ntent/pi|
|00004d50| 70 70 6b 69 2e 6a 73 22 | 2f 3e 0a 20 20 3c 73 63 |ppki.js"|/>. <sc|
|00004d60| 72 69 70 74 20 74 79 70 | 65 3d 22 61 70 70 6c 69 |ript typ|e="appli|
|00004d70| 63 61 74 69 6f 6e 2f 78 | 2d 6a 61 76 61 73 63 72 |cation/x|-javascr|
|00004d80| 69 70 74 22 20 73 72 63 | 3d 22 63 68 72 6f 6d 65 |ipt" src|="chrome|
|00004d90| 3a 2f 2f 70 69 70 70 6b | 69 2f 63 6f 6e 74 65 6e |://pippk|i/conten|
|00004da0| 74 2f 72 65 73 65 74 70 | 61 73 73 77 6f 72 64 2e |t/resetp|assword.|
|00004db0| 6a 73 22 2f 3e 0a 0a 20 | 20 3c 68 62 6f 78 20 66 |js"/>.. | <hbox f|
|00004dc0| 6c 65 78 3d 22 31 22 3e | 0a 20 20 20 20 3c 76 62 |lex="1">|. <vb|
|00004dd0| 6f 78 3e 0a 20 20 20 20 | 20 20 3c 69 6d 61 67 65 |ox>. | <image|
|00004de0| 20 63 6c 61 73 73 3d 22 | 61 6c 65 72 74 2d 69 63 | class="|alert-ic|
|00004df0| 6f 6e 22 20 73 74 79 6c | 65 3d 22 6d 61 72 67 69 |on" styl|e="margi|
|00004e00| 6e 3a 20 35 70 78 3b 22 | 2f 3e 0a 20 20 20 20 3c |n: 5px;"|/>. <|
|00004e10| 2f 76 62 6f 78 3e 0a 20 | 20 20 20 3c 76 62 6f 78 |/vbox>. | <vbox|
|00004e20| 20 73 74 79 6c 65 3d 22 | 6d 61 72 67 69 6e 3a 20 | style="|margin: |
|00004e30| 35 70 78 3b 22 20 66 6c | 65 78 3d 22 31 22 3e 0a |5px;" fl|ex="1">.|
|00004e40| 20 20 20 20 20 20 3c 68 | 62 6f 78 20 66 6c 65 78 | <h|box flex|
|00004e50| 3d 22 31 22 3e 0a 20 20 | 20 20 20 20 20 20 3c 76 |="1">. | <v|
|00004e60| 62 6f 78 20 66 6c 65 78 | 3d 22 31 22 3e 0a 20 20 |box flex|="1">. |
|00004e70| 20 20 20 20 20 20 20 20 | 3c 64 65 73 63 72 69 70 | |<descrip|
|00004e80| 74 69 6f 6e 3e 26 72 65 | 73 65 74 50 61 73 73 77 |tion>&re|setPassw|
|00004e90| 6f 72 64 2e 74 65 78 74 | 3b 3c 2f 64 65 73 63 72 |ord.text|;</descr|
|00004ea0| 69 70 74 69 6f 6e 3e 0a | 20 20 20 20 20 20 20 20 |iption>.| |
|00004eb0| 3c 2f 76 62 6f 78 3e 0a | 20 20 20 20 20 20 3c 2f |</vbox>.| </|
|00004ec0| 68 62 6f 78 3e 0a 20 20 | 20 20 3c 2f 76 62 6f 78 |hbox>. | </vbox|
|00004ed0| 3e 0a 20 20 3c 2f 68 62 | 6f 78 3e 0a 3c 2f 64 69 |>. </hb|ox>.</di|
|00004ee0| 61 6c 6f 67 3e 0a 50 4b | 03 04 0a 00 00 00 00 00 |alog>.PK|........|
|00004ef0| 36 4f 3f 36 a8 71 ed 88 | f7 0c 00 00 f7 0c 00 00 |6O?6.q..|........|
|00004f00| 1f 00 00 00 63 6f 6e 74 | 65 6e 74 2f 70 69 70 70 |....cont|ent/pipp|
|00004f10| 6b 69 2f 72 65 73 65 74 | 70 61 73 73 77 6f 72 64 |ki/reset|password|
|00004f20| 2e 6a 73 2f 2a 20 2a 2a | 2a 2a 2a 20 42 45 47 49 |.js/* **|*** BEGI|
|00004f30| 4e 20 4c 49 43 45 4e 53 | 45 20 42 4c 4f 43 4b 20 |N LICENS|E BLOCK |
|00004f40| 2a 2a 2a 2a 2a 0a 20 2a | 20 56 65 72 73 69 6f 6e |*****. *| Version|
|00004f50| 3a 20 4d 50 4c 20 31 2e | 31 2f 47 50 4c 20 32 2e |: MPL 1.|1/GPL 2.|
|00004f60| 30 2f 4c 47 50 4c 20 32 | 2e 31 0a 20 2a 0a 20 2a |0/LGPL 2|.1. *. *|
|00004f70| 20 54 68 65 20 63 6f 6e | 74 65 6e 74 73 20 6f 66 | The con|tents of|
|00004f80| 20 74 68 69 73 20 66 69 | 6c 65 20 61 72 65 20 73 | this fi|le are s|
|00004f90| 75 62 6a 65 63 74 20 74 | 6f 20 74 68 65 20 4d 6f |ubject t|o the Mo|
|00004fa0| 7a 69 6c 6c 61 20 50 75 | 62 6c 69 63 20 4c 69 63 |zilla Pu|blic Lic|
|00004fb0| 65 6e 73 65 20 56 65 72 | 73 69 6f 6e 0a 20 2a 20 |ense Ver|sion. * |
|00004fc0| 31 2e 31 20 28 74 68 65 | 20 22 4c 69 63 65 6e 73 |1.1 (the| "Licens|
|00004fd0| 65 22 29 3b 20 79 6f 75 | 20 6d 61 79 20 6e 6f 74 |e"); you| may not|
|00004fe0| 20 75 73 65 20 74 68 69 | 73 20 66 69 6c 65 20 65 | use thi|s file e|
|00004ff0| 78 63 65 70 74 20 69 6e | 20 63 6f 6d 70 6c 69 61 |xcept in| complia|
|00005000| 6e 63 65 20 77 69 74 68 | 0a 20 2a 20 74 68 65 20 |nce with|. * the |
|00005010| 4c 69 63 65 6e 73 65 2e | 20 59 6f 75 20 6d 61 79 |License.| You may|
|00005020| 20 6f 62 74 61 69 6e 20 | 61 20 63 6f 70 79 20 6f | obtain |a copy o|
|00005030| 66 20 74 68 65 20 4c 69 | 63 65 6e 73 65 20 61 74 |f the Li|cense at|
|00005040| 0a 20 2a 20 68 74 74 70 | 3a 2f 2f 77 77 77 2e 6d |. * http|://www.m|
|00005050| 6f 7a 69 6c 6c 61 2e 6f | 72 67 2f 4d 50 4c 2f 0a |ozilla.o|rg/MPL/.|
|00005060| 20 2a 0a 20 2a 20 53 6f | 66 74 77 61 72 65 20 64 | *. * So|ftware d|
|00005070| 69 73 74 72 69 62 75 74 | 65 64 20 75 6e 64 65 72 |istribut|ed under|
|00005080| 20 74 68 65 20 4c 69 63 | 65 6e 73 65 20 69 73 20 | the Lic|ense is |
|00005090| 64 69 73 74 72 69 62 75 | 74 65 64 20 6f 6e 20 61 |distribu|ted on a|
|000050a0| 6e 20 22 41 53 20 49 53 | 22 20 62 61 73 69 73 2c |n "AS IS|" basis,|
|000050b0| 0a 20 2a 20 57 49 54 48 | 4f 55 54 20 57 41 52 52 |. * WITH|OUT WARR|
|000050c0| 41 4e 54 59 20 4f 46 20 | 41 4e 59 20 4b 49 4e 44 |ANTY OF |ANY KIND|
|000050d0| 2c 20 65 69 74 68 65 72 | 20 65 78 70 72 65 73 73 |, either| express|
|000050e0| 20 6f 72 20 69 6d 70 6c | 69 65 64 2e 20 53 65 65 | or impl|ied. See|
|000050f0| 20 74 68 65 20 4c 69 63 | 65 6e 73 65 0a 20 2a 20 | the Lic|ense. * |
|00005100| 66 6f 72 20 74 68 65 20 | 73 70 65 63 69 66 69 63 |for the |specific|
|00005110| 20 6c 61 6e 67 75 61 67 | 65 20 67 6f 76 65 72 6e | languag|e govern|
|00005120| 69 6e 67 20 72 69 67 68 | 74 73 20 61 6e 64 20 6c |ing righ|ts and l|
|00005130| 69 6d 69 74 61 74 69 6f | 6e 73 20 75 6e 64 65 72 |imitatio|ns under|
|00005140| 20 74 68 65 0a 20 2a 20 | 4c 69 63 65 6e 73 65 2e | the. * |License.|
|00005150| 0a 20 2a 0a 20 2a 20 54 | 68 65 20 4f 72 69 67 69 |. *. * T|he Origi|
|00005160| 6e 61 6c 20 43 6f 64 65 | 20 69 73 20 6d 6f 7a 69 |nal Code| is mozi|
|00005170| 6c 6c 61 2e 6f 72 67 20 | 63 6f 64 65 2e 0a 20 2a |lla.org |code.. *|
|00005180| 0a 20 2a 20 54 68 65 20 | 49 6e 69 74 69 61 6c 20 |. * The |Initial |
|00005190| 44 65 76 65 6c 6f 70 65 | 72 20 6f 66 20 74 68 65 |Develope|r of the|
|000051a0| 20 4f 72 69 67 69 6e 61 | 6c 20 43 6f 64 65 20 69 | Origina|l Code i|
|000051b0| 73 0a 20 2a 20 4e 65 74 | 73 63 61 70 65 20 43 6f |s. * Net|scape Co|
|000051c0| 6d 6d 75 6e 69 63 61 74 | 69 6f 6e 73 20 43 6f 72 |mmunicat|ions Cor|
|000051d0| 70 6f 72 61 74 69 6f 6e | 2e 0a 20 2a 20 50 6f 72 |poration|.. * Por|
|000051e0| 74 69 6f 6e 73 20 63 72 | 65 61 74 65 64 20 62 79 |tions cr|eated by|
|000051f0| 20 74 68 65 20 49 6e 69 | 74 69 61 6c 20 44 65 76 | the Ini|tial Dev|
|00005200| 65 6c 6f 70 65 72 20 61 | 72 65 20 43 6f 70 79 72 |eloper a|re Copyr|
|00005210| 69 67 68 74 20 28 43 29 | 20 32 30 30 31 0a 20 2a |ight (C)| 2001. *|
|00005220| 20 74 68 65 20 49 6e 69 | 74 69 61 6c 20 44 65 76 | the Ini|tial Dev|
|00005230| 65 6c 6f 70 65 72 2e 20 | 41 6c 6c 20 52 69 67 68 |eloper. |All Righ|
|00005240| 74 73 20 52 65 73 65 72 | 76 65 64 2e 0a 20 2a 0a |ts Reser|ved.. *.|
|00005250| 20 2a 20 43 6f 6e 74 72 | 69 62 75 74 6f 72 28 73 | * Contr|ibutor(s|
|00005260| 29 3a 0a 20 2a 0a 20 2a | 20 41 6c 74 65 72 6e 61 |):. *. *| Alterna|
|00005270| 74 69 76 65 6c 79 2c 20 | 74 68 65 20 63 6f 6e 74 |tively, |the cont|
|00005280| 65 6e 74 73 20 6f 66 20 | 74 68 69 73 20 66 69 6c |ents of |this fil|
|00005290| 65 20 6d 61 79 20 62 65 | 20 75 73 65 64 20 75 6e |e may be| used un|
|000052a0| 64 65 72 20 74 68 65 20 | 74 65 72 6d 73 20 6f 66 |der the |terms of|
|000052b0| 0a 20 2a 20 65 69 74 68 | 65 72 20 74 68 65 20 47 |. * eith|er the G|
|000052c0| 4e 55 20 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |NU Gener|al Publi|
|000052d0| 63 20 4c 69 63 65 6e 73 | 65 20 56 65 72 73 69 6f |c Licens|e Versio|
|000052e0| 6e 20 32 20 6f 72 20 6c | 61 74 65 72 20 28 74 68 |n 2 or l|ater (th|
|000052f0| 65 20 22 47 50 4c 22 29 | 2c 20 6f 72 0a 20 2a 20 |e "GPL")|, or. * |
|00005300| 74 68 65 20 47 4e 55 20 | 4c 65 73 73 65 72 20 47 |the GNU |Lesser G|
|00005310| 65 6e 65 72 61 6c 20 50 | 75 62 6c 69 63 20 4c 69 |eneral P|ublic Li|
|00005320| 63 65 6e 73 65 20 56 65 | 72 73 69 6f 6e 20 32 2e |cense Ve|rsion 2.|
|00005330| 31 20 6f 72 20 6c 61 74 | 65 72 20 28 74 68 65 20 |1 or lat|er (the |
|00005340| 22 4c 47 50 4c 22 29 2c | 0a 20 2a 20 69 6e 20 77 |"LGPL"),|. * in w|
|00005350| 68 69 63 68 20 63 61 73 | 65 20 74 68 65 20 70 72 |hich cas|e the pr|
|00005360| 6f 76 69 73 69 6f 6e 73 | 20 6f 66 20 74 68 65 20 |ovisions| of the |
|00005370| 47 50 4c 20 6f 72 20 74 | 68 65 20 4c 47 50 4c 20 |GPL or t|he LGPL |
|00005380| 61 72 65 20 61 70 70 6c | 69 63 61 62 6c 65 20 69 |are appl|icable i|
|00005390| 6e 73 74 65 61 64 0a 20 | 2a 20 6f 66 20 74 68 6f |nstead. |* of tho|
|000053a0| 73 65 20 61 62 6f 76 65 | 2e 20 49 66 20 79 6f 75 |se above|. If you|
|000053b0| 20 77 69 73 68 20 74 6f | 20 61 6c 6c 6f 77 20 75 | wish to| allow u|
|000053c0| 73 65 20 6f 66 20 79 6f | 75 72 20 76 65 72 73 69 |se of yo|ur versi|
|000053d0| 6f 6e 20 6f 66 20 74 68 | 69 73 20 66 69 6c 65 20 |on of th|is file |
|000053e0| 6f 6e 6c 79 0a 20 2a 20 | 75 6e 64 65 72 20 74 68 |only. * |under th|
|000053f0| 65 20 74 65 72 6d 73 20 | 6f 66 20 65 69 74 68 65 |e terms |of eithe|
|00005400| 72 20 74 68 65 20 47 50 | 4c 20 6f 72 20 74 68 65 |r the GP|L or the|
|00005410| 20 4c 47 50 4c 2c 20 61 | 6e 64 20 6e 6f 74 20 74 | LGPL, a|nd not t|
|00005420| 6f 20 61 6c 6c 6f 77 20 | 6f 74 68 65 72 73 20 74 |o allow |others t|
|00005430| 6f 0a 20 2a 20 75 73 65 | 20 79 6f 75 72 20 76 65 |o. * use| your ve|
|00005440| 72 73 69 6f 6e 20 6f 66 | 20 74 68 69 73 20 66 69 |rsion of| this fi|
|00005450| 6c 65 20 75 6e 64 65 72 | 20 74 68 65 20 74 65 72 |le under| the ter|
|00005460| 6d 73 20 6f 66 20 74 68 | 65 20 4d 50 4c 2c 20 69 |ms of th|e MPL, i|
|00005470| 6e 64 69 63 61 74 65 20 | 79 6f 75 72 0a 20 2a 20 |ndicate |your. * |
|00005480| 64 65 63 69 73 69 6f 6e | 20 62 79 20 64 65 6c 65 |decision| by dele|
|00005490| 74 69 6e 67 20 74 68 65 | 20 70 72 6f 76 69 73 69 |ting the| provisi|
|000054a0| 6f 6e 73 20 61 62 6f 76 | 65 20 61 6e 64 20 72 65 |ons abov|e and re|
|000054b0| 70 6c 61 63 65 20 74 68 | 65 6d 20 77 69 74 68 20 |place th|em with |
|000054c0| 74 68 65 20 6e 6f 74 69 | 63 65 0a 20 2a 20 61 6e |the noti|ce. * an|
|000054d0| 64 20 6f 74 68 65 72 20 | 70 72 6f 76 69 73 69 6f |d other |provisio|
|000054e0| 6e 73 20 72 65 71 75 69 | 72 65 64 20 62 79 20 74 |ns requi|red by t|
|000054f0| 68 65 20 47 50 4c 20 6f | 72 20 74 68 65 20 4c 47 |he GPL o|r the LG|
|00005500| 50 4c 2e 20 49 66 20 79 | 6f 75 20 64 6f 20 6e 6f |PL. If y|ou do no|
|00005510| 74 20 64 65 6c 65 74 65 | 0a 20 2a 20 74 68 65 20 |t delete|. * the |
|00005520| 70 72 6f 76 69 73 69 6f | 6e 73 20 61 62 6f 76 65 |provisio|ns above|
|00005530| 2c 20 61 20 72 65 63 69 | 70 69 65 6e 74 20 6d 61 |, a reci|pient ma|
|00005540| 79 20 75 73 65 20 79 6f | 75 72 20 76 65 72 73 69 |y use yo|ur versi|
|00005550| 6f 6e 20 6f 66 20 74 68 | 69 73 20 66 69 6c 65 20 |on of th|is file |
|00005560| 75 6e 64 65 72 0a 20 2a | 20 74 68 65 20 74 65 72 |under. *| the ter|
|00005570| 6d 73 20 6f 66 20 61 6e | 79 20 6f 6e 65 20 6f 66 |ms of an|y one of|
|00005580| 20 74 68 65 20 4d 50 4c | 2c 20 74 68 65 20 47 50 | the MPL|, the GP|
|00005590| 4c 20 6f 72 20 74 68 65 | 20 4c 47 50 4c 2e 0a 20 |L or the| LGPL.. |
|000055a0| 2a 0a 20 2a 20 2a 2a 2a | 2a 2a 20 45 4e 44 20 4c |*. * ***|** END L|
|000055b0| 49 43 45 4e 53 45 20 42 | 4c 4f 43 4b 20 2a 2a 2a |ICENSE B|LOCK ***|
|000055c0| 2a 2a 20 2a 2f 0a 0a 63 | 6f 6e 73 74 20 6e 73 50 |** */..c|onst nsP|
|000055d0| 4b 31 31 54 6f 6b 65 6e | 44 42 20 3d 20 22 40 6d |K11Token|DB = "@m|
|000055e0| 6f 7a 69 6c 6c 61 2e 6f | 72 67 2f 73 65 63 75 72 |ozilla.o|rg/secur|
|000055f0| 69 74 79 2f 70 6b 31 31 | 74 6f 6b 65 6e 64 62 3b |ity/pk11|tokendb;|
|00005600| 31 22 3b 0a 63 6f 6e 73 | 74 20 6e 73 49 50 4b 31 |1";.cons|t nsIPK1|
|00005610| 31 54 6f 6b 65 6e 44 42 | 20 3d 20 43 6f 6d 70 6f |1TokenDB| = Compo|
|00005620| 6e 65 6e 74 73 2e 69 6e | 74 65 72 66 61 63 65 73 |nents.in|terfaces|
|00005630| 2e 6e 73 49 50 4b 31 31 | 54 6f 6b 65 6e 44 42 3b |.nsIPK11|TokenDB;|
|00005640| 0a 63 6f 6e 73 74 20 6e | 73 49 44 69 61 6c 6f 67 |.const n|sIDialog|
|00005650| 50 61 72 61 6d 42 6c 6f | 63 6b 20 3d 20 43 6f 6d |ParamBlo|ck = Com|
|00005660| 70 6f 6e 65 6e 74 73 2e | 69 6e 74 65 72 66 61 63 |ponents.|interfac|
|00005670| 65 73 2e 6e 73 49 44 69 | 61 6c 6f 67 50 61 72 61 |es.nsIDi|alogPara|
|00005680| 6d 42 6c 6f 63 6b 3b 0a | 0a 76 61 72 20 74 6f 6b |mBlock;.|.var tok|
|00005690| 65 6e 4e 61 6d 65 3b 0a | 0a 66 75 6e 63 74 69 6f |enName;.|.functio|
|000056a0| 6e 20 6f 6e 4c 6f 61 64 | 28 29 0a 7b 0a 20 20 69 |n onLoad|().{. i|
|000056b0| 66 20 28 22 61 72 67 75 | 6d 65 6e 74 73 22 20 69 |f ("argu|ments" i|
|000056c0| 6e 20 77 69 6e 64 6f 77 | 29 20 7b 0a 20 20 20 20 |n window|) {. |
|000056d0| 76 61 72 20 70 61 72 61 | 6d 73 20 3d 20 77 69 6e |var para|ms = win|
|000056e0| 64 6f 77 2e 61 72 67 75 | 6d 65 6e 74 73 5b 30 5d |dow.argu|ments[0]|
|000056f0| 2e 51 75 65 72 79 49 6e | 74 65 72 66 61 63 65 28 |.QueryIn|terface(|
|00005700| 6e 73 49 44 69 61 6c 6f | 67 50 61 72 61 6d 42 6c |nsIDialo|gParamBl|
|00005710| 6f 63 6b 29 3b 0a 20 20 | 20 20 74 6f 6b 65 6e 4e |ock);. | tokenN|
|00005720| 61 6d 65 20 3d 20 70 61 | 72 61 6d 73 2e 47 65 74 |ame = pa|rams.Get|
|00005730| 53 74 72 69 6e 67 28 31 | 29 3b 0a 20 20 7d 20 65 |String(1|);. } e|
|00005740| 6c 73 65 20 7b 0a 20 20 | 20 20 74 6f 6b 65 6e 4e |lse {. | tokenN|
|00005750| 61 6d 65 20 3d 20 73 65 | 6c 66 2e 6e 61 6d 65 3b |ame = se|lf.name;|
|00005760| 0a 20 20 7d 0a 7d 0a 0a | 66 75 6e 63 74 69 6f 6e |. }.}..|function|
|00005770| 20 72 65 73 65 74 50 61 | 73 73 77 6f 72 64 28 29 | resetPa|ssword()|
|00005780| 0a 7b 0a 20 20 76 61 72 | 20 70 6b 31 31 64 62 20 |.{. var| pk11db |
|00005790| 3d 20 43 6f 6d 70 6f 6e | 65 6e 74 73 2e 63 6c 61 |= Compon|ents.cla|
|000057a0| 73 73 65 73 5b 6e 73 50 | 4b 31 31 54 6f 6b 65 6e |sses[nsP|K11Token|
|000057b0| 44 42 5d 2e 67 65 74 53 | 65 72 76 69 63 65 28 6e |DB].getS|ervice(n|
|000057c0| 73 49 50 4b 31 31 54 6f | 6b 65 6e 44 42 29 3b 0a |sIPK11To|kenDB);.|
|000057d0| 20 20 76 61 72 20 74 6f | 6b 65 6e 20 3d 20 70 6b | var to|ken = pk|
|000057e0| 31 31 64 62 2e 66 69 6e | 64 54 6f 6b 65 6e 42 79 |11db.fin|dTokenBy|
|000057f0| 4e 61 6d 65 28 74 6f 6b | 65 6e 4e 61 6d 65 29 3b |Name(tok|enName);|
|00005800| 0a 20 20 74 6f 6b 65 6e | 2e 72 65 73 65 74 28 29 |. token|.reset()|
|00005810| 3b 0a 0a 20 20 76 61 72 | 20 70 72 65 66 20 3d 20 |;.. var| pref = |
|00005820| 43 6f 6d 70 6f 6e 65 6e | 74 73 2e 63 6c 61 73 73 |Componen|ts.class|
|00005830| 65 73 5b 27 40 6d 6f 7a | 69 6c 6c 61 2e 6f 72 67 |es['@moz|illa.org|
|00005840| 2f 70 72 65 66 65 72 65 | 6e 63 65 73 2d 73 65 72 |/prefere|nces-ser|
|00005850| 76 69 63 65 3b 31 27 5d | 2e 67 65 74 53 65 72 76 |vice;1']|.getServ|
|00005860| 69 63 65 28 43 6f 6d 70 | 6f 6e 65 6e 74 73 2e 69 |ice(Comp|onents.i|
|00005870| 6e 74 65 72 66 61 63 65 | 73 2e 6e 73 49 50 72 65 |nterface|s.nsIPre|
|00005880| 66 53 65 72 76 69 63 65 | 29 3b 0a 20 20 69 66 20 |fService|);. if |
|00005890| 28 70 72 65 66 29 20 7b | 0a 20 20 20 20 70 72 65 |(pref) {|. pre|
|000058a0| 66 20 3d 20 70 72 65 66 | 2e 67 65 74 42 72 61 6e |f = pref|.getBran|
|000058b0| 63 68 28 6e 75 6c 6c 29 | 3b 0a 20 20 20 20 74 72 |ch(null)|;. tr|
|000058c0| 79 20 7b 0a 20 20 20 20 | 20 20 69 66 20 28 70 72 |y {. | if (pr|
|000058d0| 65 66 2e 67 65 74 42 6f | 6f 6c 50 72 65 66 28 22 |ef.getBo|olPref("|
|000058e0| 77 61 6c 6c 65 74 2e 63 | 72 79 70 74 6f 22 29 29 |wallet.c|rypto"))|
|000058f0| 20 7b 0a 20 20 20 20 20 | 20 20 20 2f 2f 20 64 61 | {. | // da|
|00005900| 74 61 20 69 6e 20 77 61 | 6c 6c 65 74 20 69 73 20 |ta in wa|llet is |
|00005910| 65 6e 63 72 79 70 74 65 | 64 2c 20 63 6c 65 61 72 |encrypte|d, clear|
|00005920| 20 69 74 0a 20 20 20 20 | 20 20 20 20 76 61 72 20 | it. | var |
|00005930| 77 61 6c 6c 65 74 20 3d | 20 43 6f 6d 70 6f 6e 65 |wallet =| Compone|
|00005940| 6e 74 73 2e 63 6c 61 73 | 73 65 73 5b 27 40 6d 6f |nts.clas|ses['@mo|
|00005950| 7a 69 6c 6c 61 2e 6f 72 | 67 2f 77 61 6c 6c 65 74 |zilla.or|g/wallet|
|00005960| 2f 77 61 6c 6c 65 74 2d | 73 65 72 76 69 63 65 3b |/wallet-|service;|
|00005970| 31 27 5d 3b 0a 20 20 20 | 20 20 20 20 20 69 66 20 |1'];. | if |
|00005980| 28 77 61 6c 6c 65 74 29 | 20 7b 0a 20 20 20 20 20 |(wallet)| {. |
|00005990| 20 20 20 20 20 77 61 6c | 6c 65 74 20 3d 20 77 61 | wal|let = wa|
|000059a0| 6c 6c 65 74 2e 67 65 74 | 53 65 72 76 69 63 65 28 |llet.get|Service(|
|000059b0| 43 6f 6d 70 6f 6e 65 6e | 74 73 2e 69 6e 74 65 72 |Componen|ts.inter|
|000059c0| 66 61 63 65 73 2e 6e 73 | 49 57 61 6c 6c 65 74 53 |faces.ns|IWalletS|
|000059d0| 65 72 76 69 63 65 29 3b | 0a 20 20 20 20 20 20 20 |ervice);|. |
|000059e0| 20 20 20 77 61 6c 6c 65 | 74 2e 57 41 4c 4c 45 54 | walle|t.WALLET|
|000059f0| 5f 44 65 6c 65 74 65 41 | 6c 6c 28 29 3b 0a 20 20 |_DeleteA|ll();. |
|00005a00| 20 20 20 20 20 20 7d 0a | 20 20 20 20 20 20 7d 0a | }.| }.|
|00005a10| 20 20 20 20 7d 0a 20 20 | 20 20 63 61 74 63 68 28 | }. | catch(|
|00005a20| 65 29 20 7b 0a 20 20 20 | 20 20 20 2f 2f 20 77 61 |e) {. | // wa|
|00005a30| 6c 6c 65 74 2e 63 72 79 | 70 74 6f 20 70 72 65 66 |llet.cry|pto pref|
|00005a40| 20 69 73 20 6d 69 73 73 | 69 6e 67 0a 20 20 20 20 | is miss|ing. |
|00005a50| 7d 0a 20 20 7d 0a 0a 20 | 20 76 61 72 20 62 75 6e |}. }.. | var bun|
|00005a60| 64 6c 65 20 3d 20 64 6f | 63 75 6d 65 6e 74 2e 67 |dle = do|cument.g|
|00005a70| 65 74 45 6c 65 6d 65 6e | 74 42 79 49 64 28 22 70 |etElemen|tById("p|
|00005a80| 69 70 70 6b 69 5f 62 75 | 6e 64 6c 65 22 29 3b 0a |ippki_bu|ndle");.|
|00005a90| 20 20 76 61 72 20 70 72 | 6f 6d 70 74 53 65 72 76 | var pr|omptServ|
|00005aa0| 69 63 65 20 3d 20 43 6f | 6d 70 6f 6e 65 6e 74 73 |ice = Co|mponents|
|00005ab0| 2e 63 6c 61 73 73 65 73 | 5b 22 40 6d 6f 7a 69 6c |.classes|["@mozil|
|00005ac0| 6c 61 2e 6f 72 67 2f 65 | 6d 62 65 64 63 6f 6d 70 |la.org/e|mbedcomp|
|00005ad0| 2f 70 72 6f 6d 70 74 2d | 73 65 72 76 69 63 65 3b |/prompt-|service;|
|00005ae0| 31 22 5d 2e 67 65 74 53 | 65 72 76 69 63 65 28 29 |1"].getS|ervice()|
|00005af0| 3b 0a 20 20 70 72 6f 6d | 70 74 53 65 72 76 69 63 |;. prom|ptServic|
|00005b00| 65 20 3d 20 70 72 6f 6d | 70 74 53 65 72 76 69 63 |e = prom|ptServic|
|00005b10| 65 2e 51 75 65 72 79 49 | 6e 74 65 72 66 61 63 65 |e.QueryI|nterface|
|00005b20| 28 43 6f 6d 70 6f 6e 65 | 6e 74 73 2e 69 6e 74 65 |(Compone|nts.inte|
|00005b30| 72 66 61 63 65 73 2e 6e | 73 49 50 72 6f 6d 70 74 |rfaces.n|sIPrompt|
|00005b40| 53 65 72 76 69 63 65 29 | 3b 0a 20 20 69 66 20 28 |Service)|;. if (|
|00005b50| 70 72 6f 6d 70 74 53 65 | 72 76 69 63 65 20 26 26 |promptSe|rvice &&|
|00005b60| 20 62 75 6e 64 6c 65 29 | 20 7b 0a 20 20 20 20 70 | bundle)| {. p|
|00005b70| 72 6f 6d 70 74 53 65 72 | 76 69 63 65 2e 61 6c 65 |romptSer|vice.ale|
|00005b80| 72 74 28 77 69 6e 64 6f | 77 2c 0a 20 20 20 20 20 |rt(windo|w,. |
|00005b90| 20 62 75 6e 64 6c 65 2e | 67 65 74 53 74 72 69 6e | bundle.|getStrin|
|00005ba0| 67 28 22 72 65 73 65 74 | 50 61 73 73 77 6f 72 64 |g("reset|Password|
|00005bb0| 43 6f 6e 66 69 72 6d 61 | 74 69 6f 6e 54 69 74 6c |Confirma|tionTitl|
|00005bc0| 65 22 29 2c 20 0a 20 20 | 20 20 20 20 62 75 6e 64 |e"), . | bund|
|00005bd0| 6c 65 2e 67 65 74 53 74 | 72 69 6e 67 28 22 72 65 |le.getSt|ring("re|
|00005be0| 73 65 74 50 61 73 73 77 | 6f 72 64 43 6f 6e 66 69 |setPassw|ordConfi|
|00005bf0| 72 6d 61 74 69 6f 6e 4d | 65 73 73 61 67 65 22 29 |rmationM|essage")|
|00005c00| 29 3b 0a 20 20 7d 0a 0a | 20 20 72 65 74 75 72 6e |);. }..| return|
|00005c10| 20 74 72 75 65 3b 0a 7d | 0a 0a 50 4b 03 04 0a 00 | true;.}|..PK....|
|00005c20| 00 00 00 00 50 40 99 30 | f8 b7 ee 56 71 0b 00 00 |....P@.0|...Vq...|
|00005c30| 71 0b 00 00 1e 00 00 00 | 63 6f 6e 74 65 6e 74 2f |q.......|content/|
|00005c40| 70 69 70 70 6b 69 2f 50 | 72 65 66 4f 76 65 72 6c |pippki/P|refOverl|
|00005c50| 61 79 2e 78 75 6c 3c 3f | 78 6d 6c 20 76 65 72 73 |ay.xul<?|xml vers|
|00005c60| 69 6f 6e 3d 22 31 2e 30 | 22 3f 3e 0a 3c 21 2d 2d |ion="1.0|"?>.<!--|
|00005c70| 20 2a 2a 2a 2a 2a 20 42 | 45 47 49 4e 20 4c 49 43 | ***** B|EGIN LIC|
|00005c80| 45 4e 53 45 20 42 4c 4f | 43 4b 20 2a 2a 2a 2a 2a |ENSE BLO|CK *****|
|00005c90| 0a 20 20 20 2d 20 56 65 | 72 73 69 6f 6e 3a 20 4d |. - Ve|rsion: M|
|00005ca0| 50 4c 20 31 2e 31 2f 47 | 50 4c 20 32 2e 30 2f 4c |PL 1.1/G|PL 2.0/L|
|00005cb0| 47 50 4c 20 32 2e 31 0a | 20 20 20 2d 0a 20 20 20 |GPL 2.1.| -. |
|00005cc0| 2d 20 54 68 65 20 63 6f | 6e 74 65 6e 74 73 20 6f |- The co|ntents o|
|00005cd0| 66 20 74 68 69 73 20 66 | 69 6c 65 20 61 72 65 20 |f this f|ile are |
|00005ce0| 73 75 62 6a 65 63 74 20 | 74 6f 20 74 68 65 20 4d |subject |to the M|
|00005cf0| 6f 7a 69 6c 6c 61 20 50 | 75 62 6c 69 63 20 4c 69 |ozilla P|ublic Li|
|00005d00| 63 65 6e 73 65 20 56 65 | 72 73 69 6f 6e 0a 20 20 |cense Ve|rsion. |
|00005d10| 20 2d 20 31 2e 31 20 28 | 74 68 65 20 22 4c 69 63 | - 1.1 (|the "Lic|
|00005d20| 65 6e 73 65 22 29 3b 20 | 79 6f 75 20 6d 61 79 20 |ense"); |you may |
|00005d30| 6e 6f 74 20 75 73 65 20 | 74 68 69 73 20 66 69 6c |not use |this fil|
|00005d40| 65 20 65 78 63 65 70 74 | 20 69 6e 20 63 6f 6d 70 |e except| in comp|
|00005d50| 6c 69 61 6e 63 65 20 77 | 69 74 68 0a 20 20 20 2d |liance w|ith. -|
|00005d60| 20 74 68 65 20 4c 69 63 | 65 6e 73 65 2e 20 59 6f | the Lic|ense. Yo|
|00005d70| 75 20 6d 61 79 20 6f 62 | 74 61 69 6e 20 61 20 63 |u may ob|tain a c|
|00005d80| 6f 70 79 20 6f 66 20 74 | 68 65 20 4c 69 63 65 6e |opy of t|he Licen|
|00005d90| 73 65 20 61 74 0a 20 20 | 20 2d 20 68 74 74 70 3a |se at. | - http:|
|00005da0| 2f 2f 77 77 77 2e 6d 6f | 7a 69 6c 6c 61 2e 6f 72 |//www.mo|zilla.or|
|00005db0| 67 2f 4d 50 4c 2f 0a 20 | 20 20 2d 0a 20 20 20 2d |g/MPL/. | -. -|
|00005dc0| 20 53 6f 66 74 77 61 72 | 65 20 64 69 73 74 72 69 | Softwar|e distri|
|00005dd0| 62 75 74 65 64 20 75 6e | 64 65 72 20 74 68 65 20 |buted un|der the |
|00005de0| 4c 69 63 65 6e 73 65 20 | 69 73 20 64 69 73 74 72 |License |is distr|
|00005df0| 69 62 75 74 65 64 20 6f | 6e 20 61 6e 20 22 41 53 |ibuted o|n an "AS|
|00005e00| 20 49 53 22 20 62 61 73 | 69 73 2c 0a 20 20 20 2d | IS" bas|is,. -|
|00005e10| 20 57 49 54 48 4f 55 54 | 20 57 41 52 52 41 4e 54 | WITHOUT| WARRANT|
|00005e20| 59 20 4f 46 20 41 4e 59 | 20 4b 49 4e 44 2c 20 65 |Y OF ANY| KIND, e|
|00005e30| 69 74 68 65 72 20 65 78 | 70 72 65 73 73 20 6f 72 |ither ex|press or|
|00005e40| 20 69 6d 70 6c 69 65 64 | 2e 20 53 65 65 20 74 68 | implied|. See th|
|00005e50| 65 20 4c 69 63 65 6e 73 | 65 0a 20 20 20 2d 20 66 |e Licens|e. - f|
|00005e60| 6f 72 20 74 68 65 20 73 | 70 65 63 69 66 69 63 20 |or the s|pecific |
|00005e70| 6c 61 6e 67 75 61 67 65 | 20 67 6f 76 65 72 6e 69 |language| governi|
|00005e80| 6e 67 20 72 69 67 68 74 | 73 20 61 6e 64 20 6c 69 |ng right|s and li|
|00005e90| 6d 69 74 61 74 69 6f 6e | 73 20 75 6e 64 65 72 20 |mitation|s under |
|00005ea0| 74 68 65 0a 20 20 20 2d | 20 4c 69 63 65 6e 73 65 |the. -| License|
|00005eb0| 2e 0a 20 20 20 2d 0a 20 | 20 20 2d 20 54 68 65 20 |.. -. | - The |
|00005ec0| 4f 72 69 67 69 6e 61 6c | 20 43 6f 64 65 20 69 73 |Original| Code is|
|00005ed0| 20 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 20 63 6f 64 | mozilla|.org cod|
|00005ee0| 65 2e 0a 20 20 20 2d 0a | 20 20 20 2d 20 54 68 65 |e.. -.| - The|
|00005ef0| 20 49 6e 69 74 69 61 6c | 20 44 65 76 65 6c 6f 70 | Initial| Develop|
|00005f00| 65 72 20 6f 66 20 74 68 | 65 20 4f 72 69 67 69 6e |er of th|e Origin|
|00005f10| 61 6c 20 43 6f 64 65 20 | 69 73 0a 20 20 20 2d 20 |al Code |is. - |
|00005f20| 4e 65 74 73 63 61 70 65 | 20 43 6f 6d 6d 75 6e 69 |Netscape| Communi|
|00005f30| 63 61 74 69 6f 6e 73 20 | 43 6f 72 70 2e 0a 20 20 |cations |Corp.. |
|00005f40| 20 2d 20 50 6f 72 74 69 | 6f 6e 73 20 63 72 65 61 | - Porti|ons crea|
|00005f50| 74 65 64 20 62 79 20 74 | 68 65 20 49 6e 69 74 69 |ted by t|he Initi|
|00005f60| 61 6c 20 44 65 76 65 6c | 6f 70 65 72 20 61 72 65 |al Devel|oper are|
|00005f70| 20 43 6f 70 79 72 69 67 | 68 74 20 28 43 29 20 32 | Copyrig|ht (C) 2|
|00005f80| 30 30 31 0a 20 20 20 2d | 20 74 68 65 20 49 6e 69 |001. -| the Ini|
|00005f90| 74 69 61 6c 20 44 65 76 | 65 6c 6f 70 65 72 2e 20 |tial Dev|eloper. |
|00005fa0| 41 6c 6c 20 52 69 67 68 | 74 73 20 52 65 73 65 72 |All Righ|ts Reser|
|00005fb0| 76 65 64 2e 0a 20 20 20 | 2d 0a 20 20 20 2d 20 43 |ved.. |-. - C|
|00005fc0| 6f 6e 74 72 69 62 75 74 | 6f 72 28 73 29 3a 0a 20 |ontribut|or(s):. |
|00005fd0| 20 20 2d 20 20 20 54 65 | 72 72 79 20 48 61 79 65 | - Te|rry Haye|
|00005fe0| 73 20 3c 74 68 61 79 65 | 73 40 6e 65 74 73 63 61 |s <thaye|s@netsca|
|00005ff0| 70 65 2e 63 6f 6d 3e 0a | 20 20 20 2d 0a 20 20 20 |pe.com>.| -. |
|00006000| 2d 20 41 6c 74 65 72 6e | 61 74 69 76 65 6c 79 2c |- Altern|atively,|
|00006010| 20 74 68 65 20 63 6f 6e | 74 65 6e 74 73 20 6f 66 | the con|tents of|
|00006020| 20 74 68 69 73 20 66 69 | 6c 65 20 6d 61 79 20 62 | this fi|le may b|
|00006030| 65 20 75 73 65 64 20 75 | 6e 64 65 72 20 74 68 65 |e used u|nder the|
|00006040| 20 74 65 72 6d 73 20 6f | 66 0a 20 20 20 2d 20 65 | terms o|f. - e|
|00006050| 69 74 68 65 72 20 74 68 | 65 20 47 4e 55 20 47 65 |ither th|e GNU Ge|
|00006060| 6e 65 72 61 6c 20 50 75 | 62 6c 69 63 20 4c 69 63 |neral Pu|blic Lic|
|00006070| 65 6e 73 65 20 56 65 72 | 73 69 6f 6e 20 32 20 6f |ense Ver|sion 2 o|
|00006080| 72 20 6c 61 74 65 72 20 | 28 74 68 65 20 22 47 50 |r later |(the "GP|
|00006090| 4c 22 29 2c 20 6f 72 0a | 20 20 20 2d 20 74 68 65 |L"), or.| - the|
|000060a0| 20 47 4e 55 20 4c 65 73 | 73 65 72 20 47 65 6e 65 | GNU Les|ser Gene|
|000060b0| 72 61 6c 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |ral Publ|ic Licen|
|000060c0| 73 65 20 56 65 72 73 69 | 6f 6e 20 32 2e 31 20 6f |se Versi|on 2.1 o|
|000060d0| 72 20 6c 61 74 65 72 20 | 28 74 68 65 20 22 4c 47 |r later |(the "LG|
|000060e0| 50 4c 22 29 2c 0a 20 20 | 20 2d 20 69 6e 20 77 68 |PL"),. | - in wh|
|000060f0| 69 63 68 20 63 61 73 65 | 20 74 68 65 20 70 72 6f |ich case| the pro|
|00006100| 76 69 73 69 6f 6e 73 20 | 6f 66 20 74 68 65 20 47 |visions |of the G|
|00006110| 50 4c 20 6f 72 20 74 68 | 65 20 4c 47 50 4c 20 61 |PL or th|e LGPL a|
|00006120| 72 65 20 61 70 70 6c 69 | 63 61 62 6c 65 20 69 6e |re appli|cable in|
|00006130| 73 74 65 61 64 0a 20 20 | 20 2d 20 6f 66 20 74 68 |stead. | - of th|
|00006140| 6f 73 65 20 61 62 6f 76 | 65 2e 20 49 66 20 79 6f |ose abov|e. If yo|
|00006150| 75 20 77 69 73 68 20 74 | 6f 20 61 6c 6c 6f 77 20 |u wish t|o allow |
|00006160| 75 73 65 20 6f 66 20 79 | 6f 75 72 20 76 65 72 73 |use of y|our vers|
|00006170| 69 6f 6e 20 6f 66 20 74 | 68 69 73 20 66 69 6c 65 |ion of t|his file|
|00006180| 20 6f 6e 6c 79 0a 20 20 | 20 2d 20 75 6e 64 65 72 | only. | - under|
|00006190| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 20 65 69 | the ter|ms of ei|
|000061a0| 74 68 65 72 20 74 68 65 | 20 47 50 4c 20 6f 72 20 |ther the| GPL or |
|000061b0| 74 68 65 20 4c 47 50 4c | 2c 20 61 6e 64 20 6e 6f |the LGPL|, and no|
|000061c0| 74 20 74 6f 20 61 6c 6c | 6f 77 20 6f 74 68 65 72 |t to all|ow other|
|000061d0| 73 20 74 6f 0a 20 20 20 | 2d 20 75 73 65 20 79 6f |s to. |- use yo|
|000061e0| 75 72 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 74 68 |ur versi|on of th|
|000061f0| 69 73 20 66 69 6c 65 20 | 75 6e 64 65 72 20 74 68 |is file |under th|
|00006200| 65 20 74 65 72 6d 73 20 | 6f 66 20 74 68 65 20 4d |e terms |of the M|
|00006210| 50 4c 2c 20 69 6e 64 69 | 63 61 74 65 20 79 6f 75 |PL, indi|cate you|
|00006220| 72 0a 20 20 20 2d 20 64 | 65 63 69 73 69 6f 6e 20 |r. - d|ecision |
|00006230| 62 79 20 64 65 6c 65 74 | 69 6e 67 20 74 68 65 20 |by delet|ing the |
|00006240| 70 72 6f 76 69 73 69 6f | 6e 73 20 61 62 6f 76 65 |provisio|ns above|
|00006250| 20 61 6e 64 20 72 65 70 | 6c 61 63 65 20 74 68 65 | and rep|lace the|
|00006260| 6d 20 77 69 74 68 20 74 | 68 65 20 6e 6f 74 69 63 |m with t|he notic|
|00006270| 65 0a 20 20 20 2d 20 61 | 6e 64 20 6f 74 68 65 72 |e. - a|nd other|
|00006280| 20 70 72 6f 76 69 73 69 | 6f 6e 73 20 72 65 71 75 | provisi|ons requ|
|00006290| 69 72 65 64 20 62 79 20 | 74 68 65 20 47 50 4c 20 |ired by |the GPL |
|000062a0| 6f 72 20 74 68 65 20 4c | 47 50 4c 2e 20 49 66 20 |or the L|GPL. If |
|000062b0| 79 6f 75 20 64 6f 20 6e | 6f 74 20 64 65 6c 65 74 |you do n|ot delet|
|000062c0| 65 0a 20 20 20 2d 20 74 | 68 65 20 70 72 6f 76 69 |e. - t|he provi|
|000062d0| 73 69 6f 6e 73 20 61 62 | 6f 76 65 2c 20 61 20 72 |sions ab|ove, a r|
|000062e0| 65 63 69 70 69 65 6e 74 | 20 6d 61 79 20 75 73 65 |ecipient| may use|
|000062f0| 20 79 6f 75 72 20 76 65 | 72 73 69 6f 6e 20 6f 66 | your ve|rsion of|
|00006300| 20 74 68 69 73 20 66 69 | 6c 65 20 75 6e 64 65 72 | this fi|le under|
|00006310| 0a 20 20 20 2d 20 74 68 | 65 20 74 65 72 6d 73 20 |. - th|e terms |
|00006320| 6f 66 20 61 6e 79 20 6f | 6e 65 20 6f 66 20 74 68 |of any o|ne of th|
|00006330| 65 20 4d 50 4c 2c 20 74 | 68 65 20 47 50 4c 20 6f |e MPL, t|he GPL o|
|00006340| 72 20 74 68 65 20 4c 47 | 50 4c 2e 0a 20 20 20 2d |r the LG|PL.. -|
|00006350| 0a 20 20 20 2d 20 2a 2a | 2a 2a 2a 20 45 4e 44 20 |. - **|*** END |
|00006360| 4c 49 43 45 4e 53 45 20 | 42 4c 4f 43 4b 20 2a 2a |LICENSE |BLOCK **|
|00006370| 2a 2a 2a 20 2d 2d 3e 0a | 0a 3c 21 2d 2d 20 54 68 |*** -->.|.<!-- Th|
|00006380| 69 73 20 66 69 6c 65 20 | 6f 76 65 72 6c 61 79 73 |is file |overlays|
|00006390| 20 22 63 68 72 6f 6d 65 | 3a 2f 2f 63 6f 6d 6d 75 | "chrome|://commu|
|000063a0| 6e 69 63 61 74 6f 72 2f | 63 6f 6e 74 65 6e 74 2f |nicator/|content/|
|000063b0| 70 72 65 66 2f 70 72 65 | 66 74 72 65 65 2e 78 75 |pref/pre|ftree.xu|
|000063c0| 6c 22 20 2d 2d 3e 0a 0a | 3c 21 44 4f 43 54 59 50 |l" -->..|<!DOCTYP|
|000063d0| 45 20 6f 76 65 72 6c 61 | 79 20 53 59 53 54 45 4d |E overla|y SYSTEM|
|000063e0| 20 22 63 68 72 6f 6d 65 | 3a 2f 2f 70 69 70 70 6b | "chrome|://pippk|
|000063f0| 69 2f 6c 6f 63 61 6c 65 | 2f 50 72 65 66 4f 76 65 |i/locale|/PrefOve|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.